Skip to content

Bug Report: Core.IncludeResourcesInResourceGroup setting not working as expected #619

@matthewponzio

Description

@matthewponzio

Describe the bug
I have the following configuration in my settings.json

"Core.IncludeResourcesInResourceGroup": ["cloud-eng-network"],

I would expect that the Pull pipeline would then ONLY discover Resources in Resource Groups named cloud-eng-network

However, when I add Resources to Resource Groups OTHER THAN cloud-eng-network, they are still being discovered.

Steps to reproduce

  1. Create a Resource Group named cloud-eng-network
  2. Create a Resource Group named <your_choice>
  3. Configure "Core.IncludeResourcesInResourceGroup": ["cloud-eng-network"], in settings.json
  4. Add any Resource to each of the two Resource Groups
  5. Run the Pull pipeline
  6. Notice that BOTH Resources are discovered -- instead of ONLY the Resource within the cloud-eng-network Resource Group

Screenshots
image

Screen Shot 2022-05-09 at 3 12 23 PM

Screen Shot 2022-05-09 at 3 13 22 PM

Screen Shot 2022-05-09 at 3 15 13 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions