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

Prod change for producing into api v2 from account api #731

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

matiit
Copy link
Contributor

@matiit matiit commented Dec 17, 2024

No description provided.

@matiit matiit requested a review from a team as a code owner December 17, 2024 08:07
Copy link

linear bot commented Dec 17, 2024

@uw-infra
Copy link

uw-infra commented Dec 17, 2024

Terraform run output for

Cluster: prod-aws
Module: pubsub/kafka-shared-msk-account-identity
Path: prod-aws/kafka-shared-msk/account-identity
Commit ID: 1df28a509adc54d2c43ba46cf21f1e6029ac70c7
✅ Run Status: Ok, Run Summary: Plan: 2 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_account_api.kafka_acl.producer_acl["account-identity.account.atomic.v1"] will be created
  + resource "kafka_acl" "producer_acl" {
      + acl_host                     = "*"
      + acl_operation                = "Write"
      + acl_permission_type          = "Allow"
      + acl_principal                = "User:CN=account-platform/account_api"
      + id                           = (known after apply)
      + resource_name                = "account-identity.account.atomic.v1"
      + resource_pattern_type_filter = "Literal"
      + resource_type                = "Topic"
    }

  # module.account_identity_account_api.kafka_acl.producer_acl["account-identity.account.events.v2"] will be created
  + resource "kafka_acl" "producer_acl" {
      + acl_host                     = "*"
      + acl_operation                = "Write"
      + acl_permission_type          = "Allow"
      + acl_principal                = "User:CN=account-platform/account_api"
      + id                           = (known after apply)
      + resource_name                = "account-identity.account.events.v2"
      + resource_pattern_type_filter = "Literal"
      + resource_type                = "Topic"
    }

  # module.account_identity_account_api_account_atomic_producer.kafka_acl.producer_acl["account-identity.account.atomic.v1"] will be destroyed
  # (because kafka_acl.producer_acl is not in configuration)
  - resource "kafka_acl" "producer_acl" {
      - acl_host                     = "*" -> null
      - acl_operation                = "Write" -> null
      - acl_permission_type          = "Allow" -> null
      - acl_principal                = "User:CN=account-platform/account_api_account_atomic_producer" -> null
      - id                           = "User:CN=account-platform/account_api_account_atomic_producer|*|Write|Allow|Topic|account-identity.account.atomic.v1|Literal" -> null
      - resource_name                = "account-identity.account.atomic.v1" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

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

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

@matiit matiit merged commit 843fd58 into main Dec 17, 2024
2 checks passed
@matiit matiit deleted the acc-954-prod-business-create branch December 17, 2024 08:08
@uw-infra
Copy link

Terraform run output for

Cluster: prod-aws
Module: pubsub/kafka-shared-msk-account-identity
Path: prod-aws/kafka-shared-msk/account-identity
Commit ID: 843fd58e9c67f9b8d829907168fc23b0fa5168db
✅ Run Status: Ok, Run Summary: Apply complete! Resources: 2 added, 0 changed, 1 destroyed
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_account_api.kafka_acl.producer_acl["account-identity.account.atomic.v1"] will be created
  + resource "kafka_acl" "producer_acl" {
      + acl_host                     = "*"
      + acl_operation                = "Write"
      + acl_permission_type          = "Allow"
      + acl_principal                = "User:CN=account-platform/account_api"
      + id                           = (known after apply)
      + resource_name                = "account-identity.account.atomic.v1"
      + resource_pattern_type_filter = "Literal"
      + resource_type                = "Topic"
    }

  # module.account_identity_account_api.kafka_acl.producer_acl["account-identity.account.events.v2"] will be created
  + resource "kafka_acl" "producer_acl" {
      + acl_host                     = "*"
      + acl_operation                = "Write"
      + acl_permission_type          = "Allow"
      + acl_principal                = "User:CN=account-platform/account_api"
      + id                           = (known after apply)
      + resource_name                = "account-identity.account.events.v2"
      + resource_pattern_type_filter = "Literal"
      + resource_type                = "Topic"
    }

  # module.account_identity_account_api_account_atomic_producer.kafka_acl.producer_acl["account-identity.account.atomic.v1"] will be destroyed
  # (because kafka_acl.producer_acl is not in configuration)
  - resource "kafka_acl" "producer_acl" {
      - acl_host                     = "*" -> null
      - acl_operation                = "Write" -> null
      - acl_permission_type          = "Allow" -> null
      - acl_principal                = "User:CN=account-platform/account_api_account_atomic_producer" -> null
      - id                           = "User:CN=account-platform/account_api_account_atomic_producer|*|Write|Allow|Topic|account-identity.account.atomic.v1|Literal" -> null
      - resource_name                = "account-identity.account.atomic.v1" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

Plan: 2 to add, 0 to change, 1 to destroy.
module.account_identity_account_api_account_atomic_producer.kafka_acl.producer_acl["account-identity.account.atomic.v1"]: Destroying... [id=User:CN=account-platform/account_api_account_atomic_producer|*|Write|Allow|Topic|account-identity.account.atomic.v1|Literal]
module.account_identity_account_api.kafka_acl.producer_acl["account-identity.account.atomic.v1"]: Creating...
module.account_identity_account_api.kafka_acl.producer_acl["account-identity.account.events.v2"]: Creating...
module.account_identity_account_api.kafka_acl.producer_acl["account-identity.account.events.v2"]: Creation complete after 0s [id=User:CN=account-platform/account_api|*|Write|Allow|Topic|account-identity.account.events.v2|Literal]
module.account_identity_account_api.kafka_acl.producer_acl["account-identity.account.atomic.v1"]: Creation complete after 0s [id=User:CN=account-platform/account_api|*|Write|Allow|Topic|account-identity.account.atomic.v1|Literal]
module.account_identity_account_api_account_atomic_producer.kafka_acl.producer_acl["account-identity.account.atomic.v1"]: Destruction complete after 0s

Warning: Argument is deprecated

  with provider["registry.terraform.io/mongey/kafka"],
  on __env.tf line 12, in provider "kafka":
  12: provider "kafka" {

This parameter is now deprecated and will be removed in a later release,
please use `client_cert` instead.

(and one more similar warning elsewhere)

Apply complete! Resources: 2 added, 0 changed, 1 destroyed.

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

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