Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Every apply of the azuread-group module detects 2 resources to change #87

Open
alambike opened this issue Jul 3, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@alambike
Copy link
Contributor

alambike commented Jul 3, 2024

Every apply of the azuread-group module detects 2 resources to change

inputs:

    module: git::https://github.com/prefapp/tfm.git//modules/azuread-group?ref=azuread-group-v1.0.0
    values:
      name: test-powerusers
      description: "Group for test power users"
      directory_roles: []
      owners: []
      assignable_to_role: true
      subscription_roles:
        - role_name: "Key Vault Secrets Officer"
          resources_scopes:
            - "/subscriptions/xxxxx/resourceGroups/yyy/providers/Microsoft.KeyVault/vaults/test-kv"
      members:
        - type: user
          email: [email protected]
          pim:
            type: eligible
            permanent_assignment: true
Terraform will perform the following actions:

# azuread_group_role_management_policy.members will be updated in-place
~ resource "azuread_group_role_management_policy" "members" {
      id           = "Group_xxxxxxxxxxxxxxxxxxxxxxx"
      # (4 unchanged attributes hidden)

    ~ activation_rules {
          # (5 unchanged attributes hidden)

        - approval_stage {
          }
      }

      # (3 unchanged blocks hidden)
  }

# azuread_group_role_management_policy.owners will be updated in-place
~ resource "azuread_group_role_management_policy" "owners" {
      id           = "Group_xxxxxxxxxxxxxxxxxxxxxxx"
      # (4 unchanged attributes hidden)

    ~ activation_rules {
          # (5 unchanged attributes hidden)

        - approval_stage {
          }
      }

      # (3 unchanged blocks hidden)
  }

Plan: 0 to add, 2 to change, 0 to destroy.
@alambike alambike added the bug Something isn't working label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants