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

dev/cbc: remove customer-api lifecycle permissions for metric test #705

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

LukeG07
Copy link
Contributor

@LukeG07 LukeG07 commented Nov 15, 2024

No description provided.

@LukeG07 LukeG07 marked this pull request as ready for review November 15, 2024 17:08
@LukeG07 LukeG07 requested a review from a team as a code owner November 15, 2024 17:08
@uw-infra
Copy link

uw-infra commented Nov 15, 2024

Terraform run output for

Cluster: dev-aws
Module: pubsub/kafka-shared-msk-cbc
Path: dev-aws/kafka-shared-msk/cbc
Commit ID: 0314e3a462f6085b8878d732c2cfabb3ccbae18c
✅ Run Status: Ok, Run Summary: Plan: 0 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:
  - destroy

Terraform will perform the following actions:

  # module.cbc_customer_api.kafka_acl.producer_acl["cbc.LifecycleEvents_v2"] will be destroyed
  # (because key ["cbc.LifecycleEvents_v2"] is not in for_each map)
  - resource "kafka_acl" "producer_acl" {
      - acl_host                     = "*" -> null
      - acl_operation                = "Write" -> null
      - acl_permission_type          = "Allow" -> null
      - acl_principal                = "User:CN=cbc/cbc-customer-api" -> null
      - id                           = "User:CN=cbc/cbc-customer-api|*|Write|Allow|Topic|cbc.LifecycleEvents_v2|Literal" -> null
      - resource_name                = "cbc.LifecycleEvents_v2" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

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

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

@LukeG07 LukeG07 merged commit ba6bd45 into main Nov 15, 2024
2 checks passed
@LukeG07 LukeG07 deleted the cbc-auth-test branch November 15, 2024 17:14
@uw-infra
Copy link

Terraform run output for

Cluster: dev-aws
Module: pubsub/kafka-shared-msk-cbc
Path: dev-aws/kafka-shared-msk/cbc
Commit ID: ba6bd451723ea313a3456187d0b2320137dda62a
✅ Run Status: Ok, Run Summary: Apply complete! Resources: 0 added, 0 changed, 1 destroyed
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  # module.cbc_customer_api.kafka_acl.producer_acl["cbc.LifecycleEvents_v2"] will be destroyed
  # (because key ["cbc.LifecycleEvents_v2"] is not in for_each map)
  - resource "kafka_acl" "producer_acl" {
      - acl_host                     = "*" -> null
      - acl_operation                = "Write" -> null
      - acl_permission_type          = "Allow" -> null
      - acl_principal                = "User:CN=cbc/cbc-customer-api" -> null
      - id                           = "User:CN=cbc/cbc-customer-api|*|Write|Allow|Topic|cbc.LifecycleEvents_v2|Literal" -> null
      - resource_name                = "cbc.LifecycleEvents_v2" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

Plan: 0 to add, 0 to change, 1 to destroy.
module.cbc_customer_api.kafka_acl.producer_acl["cbc.LifecycleEvents_v2"]: Destroying... [id=User:CN=cbc/cbc-customer-api|*|Write|Allow|Topic|cbc.LifecycleEvents_v2|Literal]
module.cbc_customer_api.kafka_acl.producer_acl["cbc.LifecycleEvents_v2"]: 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_key` instead.

(and one more similar warning elsewhere)

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

To manually trigger plan again please post @terraform-applier plan dev-aws/kafka-shared-msk/cbc 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