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

Fix confusing creation/update names #559

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

matiit
Copy link
Contributor

@matiit matiit commented Sep 26, 2024

No description provided.

@matiit matiit requested a review from a team as a code owner September 26, 2024 07:37
@uw-infra
Copy link

uw-infra commented Sep 26, 2024

Terraform plan output for

Cluster: dev-aws
Module: pubsub/kafka-shared-msk-account-identity
Path: dev-aws/kafka-shared-msk/account-identity
Commit ID: fe4a2d0e0d749ae8088a4bfd0fb1b17594e9e233
✅ Run Status: Ok, Run Summary: Plan: 1 to add, 0 to change, 1 to destroy.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create
  - destroy

Terraform will perform the following actions:

  # module.account_identity_supply_address_relay.kafka_acl.group_acl["account-identity.legacy-account-supply-address-creation-events-relay"] will be destroyed
  # (because key ["account-identity.legacy-account-supply-address-creation-events-relay"] is not in for_each map)
  - resource "kafka_acl" "group_acl" {
      - acl_host                     = "*" -> null
      - acl_operation                = "Read" -> null
      - acl_permission_type          = "Allow" -> null
      - acl_principal                = "User:CN=account-platform/supply_address_relay" -> null
      - id                           = "User:CN=account-platform/supply_address_relay|*|Read|Allow|Group|account-identity.legacy-account-supply-address-creation-events-relay|Literal" -> null
      - resource_name                = "account-identity.legacy-account-supply-address-creation-events-relay" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Group" -> null
    }

  # module.account_identity_supply_address_relay.kafka_acl.group_acl["account-identity.legacy-account-supply-address-update-events-relay"] will be created
  + resource "kafka_acl" "group_acl" {
      + acl_host                     = "*"
      + acl_operation                = "Read"
      + acl_permission_type          = "Allow"
      + acl_principal                = "User:CN=account-platform/supply_address_relay"
      + id                           = (known after apply)
      + resource_name                = "account-identity.legacy-account-supply-address-update-events-relay"
      + resource_pattern_type_filter = "Literal"
      + resource_type                = "Group"
    }

Plan: 1 to add, 0 to change, 1 to destroy.

To manually trigger plan again please post @terraform-applier plan dev-aws/kafka-shared-msk/account-identity as comment.

@matiit matiit marked this pull request as draft September 26, 2024 07:37
@matiit matiit marked this pull request as ready for review September 26, 2024 07:40
@matiit matiit merged commit 78b7960 into main Sep 26, 2024
2 checks passed
@matiit matiit deleted the fix-supply-creation-updateaccount-identity-dev branch September 26, 2024 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants