Skip to content

Conversation

@sbuliarca
Copy link
Contributor

No description provided.

@sbuliarca sbuliarca requested a review from a team as a code owner October 30, 2025 09:40
@sys-terraform-applier
Copy link

sys-terraform-applier bot commented Oct 30, 2025

Terraform run output for

Cluster: dev-aws
Module: pubsub/kafka-shared-msk-pubsub
Path: dev-aws/kafka-shared-msk/pubsub
Commit ID: 717a9c1ff3a698e4867783b2bc2fe6bbec319496
✅ Run Status: Ok, Run Summary: Plan: 0 to add, 0 to change, 42 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:

  # kafka_topic.restore_account_identity_account_exceptions_v1 will be destroyed
  # (because kafka_topic.restore_account_identity_account_exceptions_v1 is not in configuration)
  - resource "kafka_topic" "restore_account_identity_account_exceptions_v1" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "86400000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.account.exceptions.v1" -> null
      - name               = "pubsub.restore-test.account-identity.account.exceptions.v1" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_account_identity_correspondence_address_debt_exception_check_events will be destroyed
  # (because kafka_topic.restore_account_identity_correspondence_address_debt_exception_check_events is not in configuration)
  - resource "kafka_topic" "restore_account_identity_correspondence_address_debt_exception_check_events" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "86400000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.correspondence.address.debt.exception.check.events" -> null
      - name               = "pubsub.restore-test.account-identity.correspondence.address.debt.exception.check.events" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_account_identity_correspondence_address_exception_check_events will be destroyed
  # (because kafka_topic.restore_account_identity_correspondence_address_exception_check_events is not in configuration)
  - resource "kafka_topic" "restore_account_identity_correspondence_address_exception_check_events" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "86400000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.correspondence.address.exception.check.events" -> null
      - name               = "pubsub.restore-test.account-identity.correspondence.address.exception.check.events" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_account_identity_internal_legacy_account_events will be destroyed
  # (because kafka_topic.restore_account_identity_internal_legacy_account_events is not in configuration)
  - resource "kafka_topic" "restore_account_identity_internal_legacy_account_events" {
      - config             = {
          - "cleanup.policy"                      = "compact"
          - "compression.type"                    = "zstd"
          - "max.compaction.lag.ms"               = "604800000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.internal.legacy.account.events" -> null
      - name               = "pubsub.restore-test.account-identity.internal.legacy.account.events" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_account_identity_legacy_account_braze_events_compacted will be destroyed
  # (because kafka_topic.restore_account_identity_legacy_account_braze_events_compacted is not in configuration)
  - resource "kafka_topic" "restore_account_identity_legacy_account_braze_events_compacted" {
      - config             = {
          - "cleanup.policy"                      = "compact"
          - "compression.type"                    = "zstd"
          - "max.compaction.lag.ms"               = "604800000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.legacy.account.braze.events.compacted" -> null
      - name               = "pubsub.restore-test.account-identity.legacy.account.braze.events.compacted" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_account_identity_legacy_account_events will be destroyed
  # (because kafka_topic.restore_account_identity_legacy_account_events is not in configuration)
  - resource "kafka_topic" "restore_account_identity_legacy_account_events" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "86400000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.legacy.account.events" -> null
      - name               = "pubsub.restore-test.account-identity.legacy.account.events" -> null
      - partitions         = 50 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_account_identity_legacy_account_holder_events_compacted will be destroyed
  # (because kafka_topic.restore_account_identity_legacy_account_holder_events_compacted is not in configuration)
  - resource "kafka_topic" "restore_account_identity_legacy_account_holder_events_compacted" {
      - config             = {
          - "cleanup.policy"                      = "compact"
          - "compression.type"                    = "zstd"
          - "max.compaction.lag.ms"               = "604800000"
          - "max.message.bytes"                   = "1048588"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.legacy.account.holder.events.compacted" -> null
      - name               = "pubsub.restore-test.account-identity.legacy.account.holder.events.compacted" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_account_identity_staff_okta_v6 will be destroyed
  # (because kafka_topic.restore_account_identity_staff_okta_v6 is not in configuration)
  - resource "kafka_topic" "restore_account_identity_staff_okta_v6" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "86400000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.staff.okta.v6" -> null
      - name               = "pubsub.restore-test.account-identity.staff.okta.v6" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_account_identity_supply_address_debt_exception_check_events will be destroyed
  # (because kafka_topic.restore_account_identity_supply_address_debt_exception_check_events is not in configuration)
  - resource "kafka_topic" "restore_account_identity_supply_address_debt_exception_check_events" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "86400000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.supply.address.debt.exception.check.events" -> null
      - name               = "pubsub.restore-test.account-identity.supply.address.debt.exception.check.events" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_bill_reconciliation_error_events will be destroyed
  # (because kafka_topic.restore_bill_reconciliation_error_events is not in configuration)
  - resource "kafka_topic" "restore_bill_reconciliation_error_events" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "172800000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "2629800000"
        } -> null
      - id                 = "pubsub.restore-test.billing.bill-reconciliation-error-events" -> null
      - name               = "pubsub.restore-test.billing.bill-reconciliation-error-events" -> null
      - partitions         = 2 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_billing_engine_events_bce_deadletter will be destroyed
  # (because kafka_topic.restore_billing_engine_events_bce_deadletter is not in configuration)
  - resource "kafka_topic" "restore_billing_engine_events_bce_deadletter" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "172800000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "2629800000"
        } -> null
      - id                 = "pubsub.restore-test.billing.billing-engine-events-bce-deadletter" -> null
      - name               = "pubsub.restore-test.billing.billing-engine-events-bce-deadletter" -> null
      - partitions         = 2 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_events will be destroyed
  # (because kafka_topic.restore_events is not in configuration)
  - resource "kafka_topic" "restore_events" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "86400000"
          - "max.message.bytes"                   = "1048576"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.data-infra.uw.data-infra.product.v1.events" -> null
      - name               = "pubsub.restore-test.data-infra.uw.data-infra.product.v1.events" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_events_end will be destroyed
  # (because kafka_topic.restore_events_end is not in configuration)
  - resource "kafka_topic" "restore_events_end" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "86400000"
          - "max.message.bytes"                   = "1048576"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.data-infra.uw.data-infra.product.v1.eventsend" -> null
      - name               = "pubsub.restore-test.data-infra.uw.data-infra.product.v1.eventsend" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_fixed_width_file_processing_events will be destroyed
  # (because kafka_topic.restore_fixed_width_file_processing_events is not in configuration)
  - resource "kafka_topic" "restore_fixed_width_file_processing_events" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "172800000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "2629800000"
        } -> null
      - id                 = "pubsub.restore-test.billing.fixed-width-file-processing-events" -> null
      - name               = "pubsub.restore-test.billing.fixed-width-file-processing-events" -> null
      - partitions         = 2 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_iam_credentials_v1 will be destroyed
  # (because kafka_topic.restore_iam_credentials_v1 is not in configuration)
  - resource "kafka_topic" "restore_iam_credentials_v1" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "172800000"
          - "max.message.bytes"                   = "1048576"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.bytes"                     = "104857600"
          - "retention.ms"                        = "604800000"
        } -> null
      - id                 = "pubsub.restore-test.auth-customer.iam-credentials-v1" -> null
      - name               = "pubsub.restore-test.auth-customer.iam-credentials-v1" -> null
      - partitions         = 10 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_iam_identitydb_v1 will be destroyed
  # (because kafka_topic.restore_iam_identitydb_v1 is not in configuration)
  - resource "kafka_topic" "restore_iam_identitydb_v1" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "172800000"
          - "max.message.bytes"                   = "5242880"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.bytes"                     = "104857600"
          - "retention.ms"                        = "2592000000"
        } -> null
      - id                 = "pubsub.restore-test.auth.iam-identitydb-v1" -> null
      - name               = "pubsub.restore-test.auth.iam-identitydb-v1" -> null
      - partitions         = 1 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_meter_reads will be destroyed
  # (because kafka_topic.restore_meter_reads is not in configuration)
  - resource "kafka_topic" "restore_meter_reads" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "172800000"
          - "max.message.bytes"                   = "1048576"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "7889238000"
        } -> null
      - id                 = "pubsub.restore-test.energy-platform.meter.read.events.v3" -> null
      - name               = "pubsub.restore-test.energy-platform.meter.read.events.v3" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_service_status_deadletter_v4 will be destroyed
  # (because kafka_topic.restore_service_status_deadletter_v4 is not in configuration)
  - resource "kafka_topic" "restore_service_status_deadletter_v4" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "3600000"
          - "max.message.bytes"                   = "1048576"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.bytes"                     = "-1"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.customer-proposition.service-status.events.deadletter.v4" -> null
      - name               = "pubsub.restore-test.customer-proposition.service-status.events.deadletter.v4" -> null
      - partitions         = 1 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_service_status_v3 will be destroyed
  # (because kafka_topic.restore_service_status_v3 is not in configuration)
  - resource "kafka_topic" "restore_service_status_v3" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "3600000"
          - "max.message.bytes"                   = "1048576"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.bytes"                     = "-1"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.customer-proposition.service-status.events.v3" -> null
      - name               = "pubsub.restore-test.customer-proposition.service-status.events.v3" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_service_status_v4 will be destroyed
  # (because kafka_topic.restore_service_status_v4 is not in configuration)
  - resource "kafka_topic" "restore_service_status_v4" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "3600000"
          - "max.message.bytes"                   = "1048576"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.bytes"                     = "-1"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.customer-proposition.service-status.events.v4" -> null
      - name               = "pubsub.restore-test.customer-proposition.service-status.events.v4" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_unicom_tests will be destroyed
  # (because kafka_topic.restore_unicom_tests is not in configuration)
  - resource "kafka_topic" "restore_unicom_tests" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "259200000"
          - "max.message.bytes"                   = "536870912"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "7889400000"
        } -> null
      - id                 = "pubsub.restore-test.unicom.tests" -> null
      - name               = "pubsub.restore-test.unicom.tests" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.account.exceptions.v1"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.account.exceptions.v1"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.account.exceptions.v1|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.account.exceptions.v1" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.correspondence.address.debt.exception.check.events"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.correspondence.address.debt.exception.check.events"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.correspondence.address.debt.exception.check.events|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.correspondence.address.debt.exception.check.events" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.correspondence.address.exception.check.events"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.correspondence.address.exception.check.events"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.correspondence.address.exception.check.events|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.correspondence.address.exception.check.events" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.internal.legacy.account.events"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.internal.legacy.account.events"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.internal.legacy.account.events|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.internal.legacy.account.events" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.legacy.account.braze.events.compacted"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.legacy.account.braze.events.compacted"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.legacy.account.braze.events.compacted|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.legacy.account.braze.events.compacted" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.legacy.account.events"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.legacy.account.events"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.legacy.account.events|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.legacy.account.events" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.legacy.account.holder.events.compacted"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.legacy.account.holder.events.compacted"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.legacy.account.holder.events.compacted|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.legacy.account.holder.events.compacted" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.staff.okta.v6"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.staff.okta.v6"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.staff.okta.v6|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.staff.okta.v6" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.supply.address.debt.exception.check.events"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.supply.address.debt.exception.check.events"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.supply.address.debt.exception.check.events|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.supply.address.debt.exception.check.events" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.auth-customer.iam-credentials-v1"] will be destroyed
  # (because key ["pubsub.restore-test.auth-customer.iam-credentials-v1"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.auth-customer.iam-credentials-v1|Literal" -> null
      - resource_name                = "pubsub.restore-test.auth-customer.iam-credentials-v1" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.auth.iam-identitydb-v1"] will be destroyed
  # (because key ["pubsub.restore-test.auth.iam-identitydb-v1"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.auth.iam-identitydb-v1|Literal" -> null
      - resource_name                = "pubsub.restore-test.auth.iam-identitydb-v1" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.billing.bill-reconciliation-error-events"] will be destroyed
  # (because key ["pubsub.restore-test.billing.bill-reconciliation-error-events"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.billing.bill-reconciliation-error-events|Literal" -> null
      - resource_name                = "pubsub.restore-test.billing.bill-reconciliation-error-events" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.billing.billing-engine-events-bce-deadletter"] will be destroyed
  # (because key ["pubsub.restore-test.billing.billing-engine-events-bce-deadletter"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.billing.billing-engine-events-bce-deadletter|Literal" -> null
      - resource_name                = "pubsub.restore-test.billing.billing-engine-events-bce-deadletter" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.billing.fixed-width-file-processing-events"] will be destroyed
  # (because key ["pubsub.restore-test.billing.fixed-width-file-processing-events"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.billing.fixed-width-file-processing-events|Literal" -> null
      - resource_name                = "pubsub.restore-test.billing.fixed-width-file-processing-events" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.customer-proposition.service-status.events.deadletter.v4"] will be destroyed
  # (because key ["pubsub.restore-test.customer-proposition.service-status.events.deadletter.v4"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.customer-proposition.service-status.events.deadletter.v4|Literal" -> null
      - resource_name                = "pubsub.restore-test.customer-proposition.service-status.events.deadletter.v4" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.customer-proposition.service-status.events.v3"] will be destroyed
  # (because key ["pubsub.restore-test.customer-proposition.service-status.events.v3"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.customer-proposition.service-status.events.v3|Literal" -> null
      - resource_name                = "pubsub.restore-test.customer-proposition.service-status.events.v3" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.customer-proposition.service-status.events.v4"] will be destroyed
  # (because key ["pubsub.restore-test.customer-proposition.service-status.events.v4"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.customer-proposition.service-status.events.v4|Literal" -> null
      - resource_name                = "pubsub.restore-test.customer-proposition.service-status.events.v4" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.data-infra.uw.data-infra.product.v1.events"] will be destroyed
  # (because key ["pubsub.restore-test.data-infra.uw.data-infra.product.v1.events"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.data-infra.uw.data-infra.product.v1.events|Literal" -> null
      - resource_name                = "pubsub.restore-test.data-infra.uw.data-infra.product.v1.events" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.data-infra.uw.data-infra.product.v1.eventsend"] will be destroyed
  # (because key ["pubsub.restore-test.data-infra.uw.data-infra.product.v1.eventsend"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.data-infra.uw.data-infra.product.v1.eventsend|Literal" -> null
      - resource_name                = "pubsub.restore-test.data-infra.uw.data-infra.product.v1.eventsend" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.energy-platform.meter.read.events.v3"] will be destroyed
  # (because key ["pubsub.restore-test.energy-platform.meter.read.events.v3"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.energy-platform.meter.read.events.v3|Literal" -> null
      - resource_name                = "pubsub.restore-test.energy-platform.meter.read.events.v3" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.unicom.tests"] will be destroyed
  # (because key ["pubsub.restore-test.unicom.tests"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.unicom.tests|Literal" -> null
      - resource_name                = "pubsub.restore-test.unicom.tests" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

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

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

@sys-terraform-applier
Copy link

sys-terraform-applier bot commented Oct 30, 2025

Terraform run output for

Cluster: dev-aws
Module: pubsub/kafka-shared-msk-backup-bucket-retention
Path: dev-aws/kafka-shared-msk/msk-backup-bucket-retention
Commit ID: e423c850b7e74b0689819986eeaafd2b397082c7
✅ Run Status: Ok, Run Summary: Plan: 0 to add, 1 to change, 0 to destroy.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # aws_s3_bucket_lifecycle_configuration.msk_topics_retention will be updated in-place
  ~ resource "aws_s3_bucket_lifecycle_configuration" "msk_topics_retention" {
        id                                     = "uw-dev-pubsub-msk-backup"
        # (4 unchanged attributes hidden)

      ~ rule {
          ~ id     = "pubsub.restore-test.auth-customer.iam-credentials-v1" -> "unicom.bill-events"
            # (2 unchanged attributes hidden)

          ~ expiration {
              ~ days                         = 8 -> 92
                # (1 unchanged attribute hidden)
            }

          ~ filter {
              ~ prefix = "msk-backup-parquet/pubsub.restore-test.auth-customer.iam-credentials-v1/" -> "msk-backup-parquet/unicom.bill-events/"
            }
        }
      ~ rule {
          ~ id     = "pubsub.restore-test.auth.iam-identitydb-v1" -> "unicom.bill-failed"
            # (2 unchanged attributes hidden)

          ~ expiration {
              ~ days                         = 31 -> 92
                # (1 unchanged attribute hidden)
            }

          ~ filter {
              ~ prefix = "msk-backup-parquet/pubsub.restore-test.auth.iam-identitydb-v1/" -> "msk-backup-parquet/unicom.bill-failed/"
            }
        }
      ~ rule {
          ~ id     = "pubsub.restore-test.billing.bill-reconciliation-error-events" -> "unicom.bounce.2019.1"
            # (2 unchanged attributes hidden)

          ~ expiration {
              ~ days                         = 31 -> 92
                # (1 unchanged attribute hidden)
            }

          ~ filter {
              ~ prefix = "msk-backup-parquet/pubsub.restore-test.billing.bill-reconciliation-error-events/" -> "msk-backup-parquet/unicom.bounce.2019.1/"
            }
        }
      ~ rule {
          ~ id     = "pubsub.restore-test.billing.billing-engine-events-bce-deadletter" -> "unicom.cancel-status.1"
            # (2 unchanged attributes hidden)

          ~ expiration {
              ~ days                         = 31 -> 92
                # (1 unchanged attribute hidden)
            }

          ~ filter {
              ~ prefix = "msk-backup-parquet/pubsub.restore-test.billing.billing-engine-events-bce-deadletter/" -> "msk-backup-parquet/unicom.cancel-status.1/"
            }
        }
      ~ rule {
          ~ id     = "pubsub.restore-test.billing.fixed-width-file-processing-events" -> "unicom.cancellation.1"
            # (2 unchanged attributes hidden)

          ~ expiration {
              ~ days                         = 31 -> 92
                # (1 unchanged attribute hidden)
            }

          ~ filter {
              ~ prefix = "msk-backup-parquet/pubsub.restore-test.billing.fixed-width-file-processing-events/" -> "msk-backup-parquet/unicom.cancellation.1/"
            }
        }
      ~ rule {
          ~ id     = "pubsub.restore-test.energy-platform.meter.read.events.v3" -> "unicom.caps-consent"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/pubsub.restore-test.energy-platform.meter.read.events.v3/" -> "msk-backup-parquet/unicom.caps-consent/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "pubsub.restore-test.unicom.tests" -> "unicom.caps"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/pubsub.restore-test.unicom.tests/" -> "msk-backup-parquet/unicom.caps/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.bill-events" -> "unicom.clx-report"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.bill-events/" -> "msk-backup-parquet/unicom.clx-report/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.bill-failed" -> "unicom.comms-fallback.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.bill-failed/" -> "msk-backup-parquet/unicom.comms-fallback.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.bounce.2019.1" -> "unicom.cost-calculated.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.bounce.2019.1/" -> "msk-backup-parquet/unicom.cost-calculated.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.cancel-status.1" -> "unicom.email-batch.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.cancel-status.1/" -> "msk-backup-parquet/unicom.email-batch.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.cancellation.1" -> "unicom.email-post-delivery.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.cancellation.1/" -> "msk-backup-parquet/unicom.email-post-delivery.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.caps-consent" -> "unicom.email-released-critical.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.caps-consent/" -> "msk-backup-parquet/unicom.email-released-critical.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.caps" -> "unicom.email-released-important.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.caps/" -> "msk-backup-parquet/unicom.email-released-important.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.clx-report" -> "unicom.email-released-mock-critical.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.clx-report/" -> "msk-backup-parquet/unicom.email-released-mock-critical.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.comms-fallback.1" -> "unicom.email-released-mock-important.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.comms-fallback.1/" -> "msk-backup-parquet/unicom.email-released-mock-important.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.cost-calculated.1" -> "unicom.email-released-mock.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.cost-calculated.1/" -> "msk-backup-parquet/unicom.email-released-mock.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-batch.1" -> "unicom.email-released-ses-critical.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-batch.1/" -> "msk-backup-parquet/unicom.email-released-ses-critical.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-post-delivery.1" -> "unicom.email-released-ses-important.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-post-delivery.1/" -> "msk-backup-parquet/unicom.email-released-ses-important.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released-critical.1" -> "unicom.email-released-ses.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released-critical.1/" -> "msk-backup-parquet/unicom.email-released-ses.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released-important.1" -> "unicom.email-released.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released-important.1/" -> "msk-backup-parquet/unicom.email-released.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released-mock-critical.1" -> "unicom.email-status.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released-mock-critical.1/" -> "msk-backup-parquet/unicom.email-status.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released-mock-important.1" -> "unicom.failed"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released-mock-important.1/" -> "msk-backup-parquet/unicom.failed/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released-mock.1" -> "unicom.go-inspire-letter-status.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released-mock.1/" -> "msk-backup-parquet/unicom.go-inspire-letter-status.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released-ses-critical.1" -> "unicom.letter-batch-critical.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released-ses-critical.1/" -> "msk-backup-parquet/unicom.letter-batch-critical.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released-ses-important.1" -> "unicom.letter-batch-important.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released-ses-important.1/" -> "msk-backup-parquet/unicom.letter-batch-important.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released-ses.1" -> "unicom.letter-batch.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released-ses.1/" -> "msk-backup-parquet/unicom.letter-batch.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released.1" -> "unicom.letter-released-critical.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released.1/" -> "msk-backup-parquet/unicom.letter-released-critical.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-status.1" -> "unicom.letter-released-important.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-status.1/" -> "msk-backup-parquet/unicom.letter-released-important.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.failed" -> "unicom.letter-released-mock-critical.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.failed/" -> "msk-backup-parquet/unicom.letter-released-mock-critical.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.go-inspire-letter-status.1" -> "unicom.letter-released-mock-important.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.go-inspire-letter-status.1/" -> "msk-backup-parquet/unicom.letter-released-mock-important.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-batch-critical.1" -> "unicom.letter-released-mock.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-batch-critical.1/" -> "msk-backup-parquet/unicom.letter-released-mock.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-batch-important.1" -> "unicom.letter-released.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-batch-important.1/" -> "msk-backup-parquet/unicom.letter-released.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-batch.1" -> "unicom.letter-send-adare"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-batch.1/" -> "msk-backup-parquet/unicom.letter-send-adare/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-released-critical.1" -> "unicom.letter-status.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-released-critical.1/" -> "msk-backup-parquet/unicom.letter-status.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-released-important.1" -> "unicom.mparticle-output-integration"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-released-important.1/" -> "msk-backup-parquet/unicom.mparticle-output-integration/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-released-mock-critical.1" -> "unicom.orchestration-entity.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-released-mock-critical.1/" -> "msk-backup-parquet/unicom.orchestration-entity.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-released-mock-important.1" -> "unicom.orchestration-rule-execution.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-released-mock-important.1/" -> "msk-backup-parquet/unicom.orchestration-rule-execution.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-released-mock.1" -> "unicom.outbound-call-request"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-released-mock.1/" -> "msk-backup-parquet/unicom.outbound-call-request/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-released.1" -> "unicom.push-notification-released.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-released.1/" -> "msk-backup-parquet/unicom.push-notification-released.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-send-adare" -> "unicom.push-notification-status.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-send-adare/" -> "msk-backup-parquet/unicom.push-notification-status.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-status.1" -> "unicom.rejected"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-status.1/" -> "msk-backup-parquet/unicom.rejected/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.mparticle-output-integration" -> "unicom.rendered.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.mparticle-output-integration/" -> "msk-backup-parquet/unicom.rendered.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.orchestration-entity.1" -> "unicom.requests"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.orchestration-entity.1/" -> "msk-backup-parquet/unicom.requests/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.orchestration-rule-execution.1" -> "unicom.scheduled.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.orchestration-rule-execution.1/" -> "msk-backup-parquet/unicom.scheduled.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.outbound-call-request" -> "unicom.send-notification.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.outbound-call-request/" -> "msk-backup-parquet/unicom.send-notification.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.push-notification-released.1" -> "unicom.sftp-status"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.push-notification-released.1/" -> "msk-backup-parquet/unicom.sftp-status/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.push-notification-status.1" -> "unicom.sms-batch.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.push-notification-status.1/" -> "msk-backup-parquet/unicom.sms-batch.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.rejected" -> "unicom.sms-released-critical.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.rejected/" -> "msk-backup-parquet/unicom.sms-released-critical.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.rendered.1" -> "unicom.sms-released-important.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.rendered.1/" -> "msk-backup-parquet/unicom.sms-released-important.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.requests" -> "unicom.sms-released.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.requests/" -> "msk-backup-parquet/unicom.sms-released.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.scheduled.1" -> "unicom.sms-status.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.scheduled.1/" -> "msk-backup-parquet/unicom.sms-status.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.send-notification.1" -> "unicom.status-bill-email-connector"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.send-notification.1/" -> "msk-backup-parquet/unicom.status-bill-email-connector/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.sftp-status" -> "unicom.status-energy-smets1-notifier"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.sftp-status/" -> "msk-backup-parquet/unicom.status-energy-smets1-notifier/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.sms-batch.1" -> "unicom.status-finance-email-delivery-engine"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.sms-batch.1/" -> "msk-backup-parquet/unicom.status-finance-email-delivery-engine/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.sms-released-critical.1" -> "unicom.status-v2"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.sms-released-critical.1/" -> "msk-backup-parquet/unicom.status-v2/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.sms-released-important.1" -> "unicom.status"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.sms-released-important.1/" -> "msk-backup-parquet/unicom.status/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.sms-released.1" -> "unicom.tests"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.sms-released.1/" -> "msk-backup-parquet/unicom.tests/"
            }

            # (1 unchanged block hidden)
        }
      - rule {
          - id     = "unicom.sms-status.1" -> null
          - status = "Enabled" -> null
            # (1 unchanged attribute hidden)

          - expiration {
              - days                         = 92 -> null
              - expired_object_delete_marker = false -> null
            }

          - filter {
              - prefix = "msk-backup-parquet/unicom.sms-status.1/" -> null
            }
        }
      - rule {
          - id     = "unicom.status-bill-email-connector" -> null
          - status = "Enabled" -> null
            # (1 unchanged attribute hidden)

          - expiration {
              - days                         = 92 -> null
              - expired_object_delete_marker = false -> null
            }

          - filter {
              - prefix = "msk-backup-parquet/unicom.status-bill-email-connector/" -> null
            }
        }
      - rule {
          - id     = "unicom.status-energy-smets1-notifier" -> null
          - status = "Enabled" -> null
            # (1 unchanged attribute hidden)

          - expiration {
              - days                         = 92 -> null
              - expired_object_delete_marker = false -> null
            }

          - filter {
              - prefix = "msk-backup-parquet/unicom.status-energy-smets1-notifier/" -> null
            }
        }
      - rule {
          - id     = "unicom.status-finance-email-delivery-engine" -> null
          - status = "Enabled" -> null
            # (1 unchanged attribute hidden)

          - expiration {
              - days                         = 92 -> null
              - expired_object_delete_marker = false -> null
            }

          - filter {
              - prefix = "msk-backup-parquet/unicom.status-finance-email-delivery-engine/" -> null
            }
        }
      - rule {
          - id     = "unicom.status-v2" -> null
          - status = "Enabled" -> null
            # (1 unchanged attribute hidden)

          - expiration {
              - days                         = 92 -> null
              - expired_object_delete_marker = false -> null
            }

          - filter {
              - prefix = "msk-backup-parquet/unicom.status-v2/" -> null
            }
        }
      - rule {
          - id     = "unicom.status" -> null
          - status = "Enabled" -> null
            # (1 unchanged attribute hidden)

          - expiration {
              - days                         = 92 -> null
              - expired_object_delete_marker = false -> null
            }

          - filter {
              - prefix = "msk-backup-parquet/unicom.status/" -> null
            }
        }
      - rule {
          - id     = "unicom.tests" -> null
          - status = "Enabled" -> null
            # (1 unchanged attribute hidden)

          - expiration {
              - days                         = 92 -> null
              - expired_object_delete_marker = false -> null
            }

          - filter {
              - prefix = "msk-backup-parquet/unicom.tests/" -> null
            }
        }

        # (126 unchanged blocks hidden)
    }

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

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

@sbuliarca sbuliarca enabled auto-merge (squash) October 30, 2025 09:45
@sbuliarca sbuliarca disabled auto-merge October 30, 2025 09:48
@sbuliarca sbuliarca merged commit 87bc6db into main Oct 30, 2025
1 check passed
@sbuliarca sbuliarca deleted the finish-restore-test branch October 30, 2025 09:48
@sys-terraform-applier
Copy link

Terraform run output for

Cluster: dev-aws
Module: pubsub/kafka-shared-msk-pubsub
Path: dev-aws/kafka-shared-msk/pubsub
Commit ID: 87bc6db7210156d5d88e6aa6ad57a2e2d2189a79
✅ Run Status: Ok, Run Summary: Apply complete! Resources: 0 added, 0 changed, 42 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:

  # kafka_topic.restore_account_identity_account_exceptions_v1 will be destroyed
  # (because kafka_topic.restore_account_identity_account_exceptions_v1 is not in configuration)
  - resource "kafka_topic" "restore_account_identity_account_exceptions_v1" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "86400000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.account.exceptions.v1" -> null
      - name               = "pubsub.restore-test.account-identity.account.exceptions.v1" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_account_identity_correspondence_address_debt_exception_check_events will be destroyed
  # (because kafka_topic.restore_account_identity_correspondence_address_debt_exception_check_events is not in configuration)
  - resource "kafka_topic" "restore_account_identity_correspondence_address_debt_exception_check_events" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "86400000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.correspondence.address.debt.exception.check.events" -> null
      - name               = "pubsub.restore-test.account-identity.correspondence.address.debt.exception.check.events" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_account_identity_correspondence_address_exception_check_events will be destroyed
  # (because kafka_topic.restore_account_identity_correspondence_address_exception_check_events is not in configuration)
  - resource "kafka_topic" "restore_account_identity_correspondence_address_exception_check_events" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "86400000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.correspondence.address.exception.check.events" -> null
      - name               = "pubsub.restore-test.account-identity.correspondence.address.exception.check.events" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_account_identity_internal_legacy_account_events will be destroyed
  # (because kafka_topic.restore_account_identity_internal_legacy_account_events is not in configuration)
  - resource "kafka_topic" "restore_account_identity_internal_legacy_account_events" {
      - config             = {
          - "cleanup.policy"                      = "compact"
          - "compression.type"                    = "zstd"
          - "max.compaction.lag.ms"               = "604800000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.internal.legacy.account.events" -> null
      - name               = "pubsub.restore-test.account-identity.internal.legacy.account.events" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_account_identity_legacy_account_braze_events_compacted will be destroyed
  # (because kafka_topic.restore_account_identity_legacy_account_braze_events_compacted is not in configuration)
  - resource "kafka_topic" "restore_account_identity_legacy_account_braze_events_compacted" {
      - config             = {
          - "cleanup.policy"                      = "compact"
          - "compression.type"                    = "zstd"
          - "max.compaction.lag.ms"               = "604800000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.legacy.account.braze.events.compacted" -> null
      - name               = "pubsub.restore-test.account-identity.legacy.account.braze.events.compacted" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_account_identity_legacy_account_events will be destroyed
  # (because kafka_topic.restore_account_identity_legacy_account_events is not in configuration)
  - resource "kafka_topic" "restore_account_identity_legacy_account_events" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "86400000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.legacy.account.events" -> null
      - name               = "pubsub.restore-test.account-identity.legacy.account.events" -> null
      - partitions         = 50 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_account_identity_legacy_account_holder_events_compacted will be destroyed
  # (because kafka_topic.restore_account_identity_legacy_account_holder_events_compacted is not in configuration)
  - resource "kafka_topic" "restore_account_identity_legacy_account_holder_events_compacted" {
      - config             = {
          - "cleanup.policy"                      = "compact"
          - "compression.type"                    = "zstd"
          - "max.compaction.lag.ms"               = "604800000"
          - "max.message.bytes"                   = "1048588"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.legacy.account.holder.events.compacted" -> null
      - name               = "pubsub.restore-test.account-identity.legacy.account.holder.events.compacted" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_account_identity_staff_okta_v6 will be destroyed
  # (because kafka_topic.restore_account_identity_staff_okta_v6 is not in configuration)
  - resource "kafka_topic" "restore_account_identity_staff_okta_v6" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "86400000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.staff.okta.v6" -> null
      - name               = "pubsub.restore-test.account-identity.staff.okta.v6" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_account_identity_supply_address_debt_exception_check_events will be destroyed
  # (because kafka_topic.restore_account_identity_supply_address_debt_exception_check_events is not in configuration)
  - resource "kafka_topic" "restore_account_identity_supply_address_debt_exception_check_events" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "86400000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.account-identity.supply.address.debt.exception.check.events" -> null
      - name               = "pubsub.restore-test.account-identity.supply.address.debt.exception.check.events" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_bill_reconciliation_error_events will be destroyed
  # (because kafka_topic.restore_bill_reconciliation_error_events is not in configuration)
  - resource "kafka_topic" "restore_bill_reconciliation_error_events" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "172800000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "2629800000"
        } -> null
      - id                 = "pubsub.restore-test.billing.bill-reconciliation-error-events" -> null
      - name               = "pubsub.restore-test.billing.bill-reconciliation-error-events" -> null
      - partitions         = 2 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_billing_engine_events_bce_deadletter will be destroyed
  # (because kafka_topic.restore_billing_engine_events_bce_deadletter is not in configuration)
  - resource "kafka_topic" "restore_billing_engine_events_bce_deadletter" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "172800000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "2629800000"
        } -> null
      - id                 = "pubsub.restore-test.billing.billing-engine-events-bce-deadletter" -> null
      - name               = "pubsub.restore-test.billing.billing-engine-events-bce-deadletter" -> null
      - partitions         = 2 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_events will be destroyed
  # (because kafka_topic.restore_events is not in configuration)
  - resource "kafka_topic" "restore_events" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "86400000"
          - "max.message.bytes"                   = "1048576"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.data-infra.uw.data-infra.product.v1.events" -> null
      - name               = "pubsub.restore-test.data-infra.uw.data-infra.product.v1.events" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_events_end will be destroyed
  # (because kafka_topic.restore_events_end is not in configuration)
  - resource "kafka_topic" "restore_events_end" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "86400000"
          - "max.message.bytes"                   = "1048576"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.data-infra.uw.data-infra.product.v1.eventsend" -> null
      - name               = "pubsub.restore-test.data-infra.uw.data-infra.product.v1.eventsend" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_fixed_width_file_processing_events will be destroyed
  # (because kafka_topic.restore_fixed_width_file_processing_events is not in configuration)
  - resource "kafka_topic" "restore_fixed_width_file_processing_events" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "172800000"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "2629800000"
        } -> null
      - id                 = "pubsub.restore-test.billing.fixed-width-file-processing-events" -> null
      - name               = "pubsub.restore-test.billing.fixed-width-file-processing-events" -> null
      - partitions         = 2 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_iam_credentials_v1 will be destroyed
  # (because kafka_topic.restore_iam_credentials_v1 is not in configuration)
  - resource "kafka_topic" "restore_iam_credentials_v1" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "172800000"
          - "max.message.bytes"                   = "1048576"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.bytes"                     = "104857600"
          - "retention.ms"                        = "604800000"
        } -> null
      - id                 = "pubsub.restore-test.auth-customer.iam-credentials-v1" -> null
      - name               = "pubsub.restore-test.auth-customer.iam-credentials-v1" -> null
      - partitions         = 10 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_iam_identitydb_v1 will be destroyed
  # (because kafka_topic.restore_iam_identitydb_v1 is not in configuration)
  - resource "kafka_topic" "restore_iam_identitydb_v1" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "172800000"
          - "max.message.bytes"                   = "5242880"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.bytes"                     = "104857600"
          - "retention.ms"                        = "2592000000"
        } -> null
      - id                 = "pubsub.restore-test.auth.iam-identitydb-v1" -> null
      - name               = "pubsub.restore-test.auth.iam-identitydb-v1" -> null
      - partitions         = 1 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_meter_reads will be destroyed
  # (because kafka_topic.restore_meter_reads is not in configuration)
  - resource "kafka_topic" "restore_meter_reads" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "172800000"
          - "max.message.bytes"                   = "1048576"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "7889238000"
        } -> null
      - id                 = "pubsub.restore-test.energy-platform.meter.read.events.v3" -> null
      - name               = "pubsub.restore-test.energy-platform.meter.read.events.v3" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_service_status_deadletter_v4 will be destroyed
  # (because kafka_topic.restore_service_status_deadletter_v4 is not in configuration)
  - resource "kafka_topic" "restore_service_status_deadletter_v4" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "3600000"
          - "max.message.bytes"                   = "1048576"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.bytes"                     = "-1"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.customer-proposition.service-status.events.deadletter.v4" -> null
      - name               = "pubsub.restore-test.customer-proposition.service-status.events.deadletter.v4" -> null
      - partitions         = 1 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_service_status_v3 will be destroyed
  # (because kafka_topic.restore_service_status_v3 is not in configuration)
  - resource "kafka_topic" "restore_service_status_v3" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "3600000"
          - "max.message.bytes"                   = "1048576"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.bytes"                     = "-1"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.customer-proposition.service-status.events.v3" -> null
      - name               = "pubsub.restore-test.customer-proposition.service-status.events.v3" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_service_status_v4 will be destroyed
  # (because kafka_topic.restore_service_status_v4 is not in configuration)
  - resource "kafka_topic" "restore_service_status_v4" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "3600000"
          - "max.message.bytes"                   = "1048576"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.bytes"                     = "-1"
          - "retention.ms"                        = "-1"
        } -> null
      - id                 = "pubsub.restore-test.customer-proposition.service-status.events.v4" -> null
      - name               = "pubsub.restore-test.customer-proposition.service-status.events.v4" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # kafka_topic.restore_unicom_tests will be destroyed
  # (because kafka_topic.restore_unicom_tests is not in configuration)
  - resource "kafka_topic" "restore_unicom_tests" {
      - config             = {
          - "cleanup.policy"                      = "delete"
          - "compression.type"                    = "zstd"
          - "local.retention.ms"                  = "259200000"
          - "max.message.bytes"                   = "536870912"
          - "message.timestamp.difference.max.ms" = "9223372036854775807"
          - "remote.storage.enable"               = "true"
          - "retention.ms"                        = "7889400000"
        } -> null
      - id                 = "pubsub.restore-test.unicom.tests" -> null
      - name               = "pubsub.restore-test.unicom.tests" -> null
      - partitions         = 15 -> null
      - replication_factor = 3 -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.account.exceptions.v1"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.account.exceptions.v1"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.account.exceptions.v1|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.account.exceptions.v1" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.correspondence.address.debt.exception.check.events"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.correspondence.address.debt.exception.check.events"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.correspondence.address.debt.exception.check.events|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.correspondence.address.debt.exception.check.events" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.correspondence.address.exception.check.events"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.correspondence.address.exception.check.events"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.correspondence.address.exception.check.events|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.correspondence.address.exception.check.events" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.internal.legacy.account.events"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.internal.legacy.account.events"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.internal.legacy.account.events|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.internal.legacy.account.events" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.legacy.account.braze.events.compacted"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.legacy.account.braze.events.compacted"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.legacy.account.braze.events.compacted|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.legacy.account.braze.events.compacted" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.legacy.account.events"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.legacy.account.events"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.legacy.account.events|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.legacy.account.events" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.legacy.account.holder.events.compacted"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.legacy.account.holder.events.compacted"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.legacy.account.holder.events.compacted|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.legacy.account.holder.events.compacted" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.staff.okta.v6"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.staff.okta.v6"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.staff.okta.v6|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.staff.okta.v6" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.supply.address.debt.exception.check.events"] will be destroyed
  # (because key ["pubsub.restore-test.account-identity.supply.address.debt.exception.check.events"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.supply.address.debt.exception.check.events|Literal" -> null
      - resource_name                = "pubsub.restore-test.account-identity.supply.address.debt.exception.check.events" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.auth-customer.iam-credentials-v1"] will be destroyed
  # (because key ["pubsub.restore-test.auth-customer.iam-credentials-v1"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.auth-customer.iam-credentials-v1|Literal" -> null
      - resource_name                = "pubsub.restore-test.auth-customer.iam-credentials-v1" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.auth.iam-identitydb-v1"] will be destroyed
  # (because key ["pubsub.restore-test.auth.iam-identitydb-v1"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.auth.iam-identitydb-v1|Literal" -> null
      - resource_name                = "pubsub.restore-test.auth.iam-identitydb-v1" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.billing.bill-reconciliation-error-events"] will be destroyed
  # (because key ["pubsub.restore-test.billing.bill-reconciliation-error-events"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.billing.bill-reconciliation-error-events|Literal" -> null
      - resource_name                = "pubsub.restore-test.billing.bill-reconciliation-error-events" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.billing.billing-engine-events-bce-deadletter"] will be destroyed
  # (because key ["pubsub.restore-test.billing.billing-engine-events-bce-deadletter"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.billing.billing-engine-events-bce-deadletter|Literal" -> null
      - resource_name                = "pubsub.restore-test.billing.billing-engine-events-bce-deadletter" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.billing.fixed-width-file-processing-events"] will be destroyed
  # (because key ["pubsub.restore-test.billing.fixed-width-file-processing-events"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.billing.fixed-width-file-processing-events|Literal" -> null
      - resource_name                = "pubsub.restore-test.billing.fixed-width-file-processing-events" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.customer-proposition.service-status.events.deadletter.v4"] will be destroyed
  # (because key ["pubsub.restore-test.customer-proposition.service-status.events.deadletter.v4"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.customer-proposition.service-status.events.deadletter.v4|Literal" -> null
      - resource_name                = "pubsub.restore-test.customer-proposition.service-status.events.deadletter.v4" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.customer-proposition.service-status.events.v3"] will be destroyed
  # (because key ["pubsub.restore-test.customer-proposition.service-status.events.v3"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.customer-proposition.service-status.events.v3|Literal" -> null
      - resource_name                = "pubsub.restore-test.customer-proposition.service-status.events.v3" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.customer-proposition.service-status.events.v4"] will be destroyed
  # (because key ["pubsub.restore-test.customer-proposition.service-status.events.v4"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.customer-proposition.service-status.events.v4|Literal" -> null
      - resource_name                = "pubsub.restore-test.customer-proposition.service-status.events.v4" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.data-infra.uw.data-infra.product.v1.events"] will be destroyed
  # (because key ["pubsub.restore-test.data-infra.uw.data-infra.product.v1.events"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.data-infra.uw.data-infra.product.v1.events|Literal" -> null
      - resource_name                = "pubsub.restore-test.data-infra.uw.data-infra.product.v1.events" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.data-infra.uw.data-infra.product.v1.eventsend"] will be destroyed
  # (because key ["pubsub.restore-test.data-infra.uw.data-infra.product.v1.eventsend"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.data-infra.uw.data-infra.product.v1.eventsend|Literal" -> null
      - resource_name                = "pubsub.restore-test.data-infra.uw.data-infra.product.v1.eventsend" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.energy-platform.meter.read.events.v3"] will be destroyed
  # (because key ["pubsub.restore-test.energy-platform.meter.read.events.v3"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.energy-platform.meter.read.events.v3|Literal" -> null
      - resource_name                = "pubsub.restore-test.energy-platform.meter.read.events.v3" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

  # module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.unicom.tests"] will be destroyed
  # (because key ["pubsub.restore-test.unicom.tests"] 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=pubsub/test-msk-backup-kafka-connect" -> null
      - id                           = "User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.unicom.tests|Literal" -> null
      - resource_name                = "pubsub.restore-test.unicom.tests" -> null
      - resource_pattern_type_filter = "Literal" -> null
      - resource_type                = "Topic" -> null
    }

Plan: 0 to add, 0 to change, 42 to destroy.
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.customer-proposition.service-status.events.v4"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.customer-proposition.service-status.events.v4|Literal]
kafka_topic.restore_billing_engine_events_bce_deadletter: Destroying... [id=pubsub.restore-test.billing.billing-engine-events-bce-deadletter]
kafka_topic.restore_iam_identitydb_v1: Destroying... [id=pubsub.restore-test.auth.iam-identitydb-v1]
kafka_topic.restore_bill_reconciliation_error_events: Destroying... [id=pubsub.restore-test.billing.bill-reconciliation-error-events]
kafka_topic.restore_events_end: Destroying... [id=pubsub.restore-test.data-infra.uw.data-infra.product.v1.eventsend]
kafka_topic.restore_unicom_tests: Destroying... [id=pubsub.restore-test.unicom.tests]
kafka_topic.restore_fixed_width_file_processing_events: Destroying... [id=pubsub.restore-test.billing.fixed-width-file-processing-events]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.legacy.account.holder.events.compacted"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.legacy.account.holder.events.compacted|Literal]
kafka_topic.restore_service_status_v4: Destroying... [id=pubsub.restore-test.customer-proposition.service-status.events.v4]
kafka_topic.restore_meter_reads: Destroying... [id=pubsub.restore-test.energy-platform.meter.read.events.v3]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.customer-proposition.service-status.events.v4"]: Destruction complete after 0s
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.staff.okta.v6"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.staff.okta.v6|Literal]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.legacy.account.holder.events.compacted"]: Destruction complete after 0s
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.billing.billing-engine-events-bce-deadletter"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.billing.billing-engine-events-bce-deadletter|Literal]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.staff.okta.v6"]: Destruction complete after 1s
kafka_topic.restore_account_identity_staff_okta_v6: Destroying... [id=pubsub.restore-test.account-identity.staff.okta.v6]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.billing.billing-engine-events-bce-deadletter"]: Destruction complete after 1s
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.data-infra.uw.data-infra.product.v1.events"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.data-infra.uw.data-infra.product.v1.events|Literal]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.data-infra.uw.data-infra.product.v1.events"]: Destruction complete after 0s
kafka_topic.restore_events: Destroying... [id=pubsub.restore-test.data-infra.uw.data-infra.product.v1.events]
kafka_topic.restore_fixed_width_file_processing_events: Destruction complete after 4s
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.legacy.account.events"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.legacy.account.events|Literal]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.legacy.account.events"]: Destruction complete after 0s
kafka_topic.restore_iam_credentials_v1: Destroying... [id=pubsub.restore-test.auth-customer.iam-credentials-v1]
kafka_topic.restore_unicom_tests: Destruction complete after 4s
kafka_topic.restore_bill_reconciliation_error_events: Destruction complete after 4s
kafka_topic.restore_billing_engine_events_bce_deadletter: Destruction complete after 4s
kafka_topic.restore_service_status_v4: Destruction complete after 4s
kafka_topic.restore_iam_identitydb_v1: Destruction complete after 4s
kafka_topic.restore_events_end: Destruction complete after 4s
kafka_topic.restore_account_identity_internal_legacy_account_events: Destroying... [id=pubsub.restore-test.account-identity.internal.legacy.account.events]
kafka_topic.restore_meter_reads: Destruction complete after 4s
kafka_topic.restore_account_identity_correspondence_address_debt_exception_check_events: Destroying... [id=pubsub.restore-test.account-identity.correspondence.address.debt.exception.check.events]
kafka_topic.restore_service_status_v3: Destroying... [id=pubsub.restore-test.customer-proposition.service-status.events.v3]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.internal.legacy.account.events"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.internal.legacy.account.events|Literal]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.customer-proposition.service-status.events.v3"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.customer-proposition.service-status.events.v3|Literal]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.energy-platform.meter.read.events.v3"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.energy-platform.meter.read.events.v3|Literal]
kafka_topic.restore_account_identity_legacy_account_holder_events_compacted: Destroying... [id=pubsub.restore-test.account-identity.legacy.account.holder.events.compacted]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.customer-proposition.service-status.events.v3"]: Destruction complete after 1s
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.customer-proposition.service-status.events.deadletter.v4"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.customer-proposition.service-status.events.deadletter.v4|Literal]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.internal.legacy.account.events"]: Destruction complete after 1s
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.billing.fixed-width-file-processing-events"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.billing.fixed-width-file-processing-events|Literal]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.energy-platform.meter.read.events.v3"]: Destruction complete after 1s
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.correspondence.address.debt.exception.check.events"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.correspondence.address.debt.exception.check.events|Literal]
kafka_topic.restore_account_identity_staff_okta_v6: Destruction complete after 4s
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.unicom.tests"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.unicom.tests|Literal]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.unicom.tests"]: Destruction complete after 1s
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.correspondence.address.exception.check.events"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.correspondence.address.exception.check.events|Literal]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.customer-proposition.service-status.events.deadletter.v4"]: Destruction complete after 1s
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.auth.iam-identitydb-v1"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.auth.iam-identitydb-v1|Literal]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.billing.fixed-width-file-processing-events"]: Destruction complete after 1s
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.correspondence.address.debt.exception.check.events"]: Destruction complete after 1s
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.account.exceptions.v1"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.account.exceptions.v1|Literal]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.auth-customer.iam-credentials-v1"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.auth-customer.iam-credentials-v1|Literal]
kafka_topic.restore_events: Destruction complete after 5s
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.data-infra.uw.data-infra.product.v1.eventsend"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.data-infra.uw.data-infra.product.v1.eventsend|Literal]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.auth-customer.iam-credentials-v1"]: Destruction complete after 0s
kafka_topic.restore_account_identity_account_exceptions_v1: Destroying... [id=pubsub.restore-test.account-identity.account.exceptions.v1]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.correspondence.address.exception.check.events"]: Destruction complete after 0s
kafka_topic.restore_account_identity_legacy_account_braze_events_compacted: Destroying... [id=pubsub.restore-test.account-identity.legacy.account.braze.events.compacted]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.account.exceptions.v1"]: Destruction complete after 0s
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.auth.iam-identitydb-v1"]: Destruction complete after 0s
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.data-infra.uw.data-infra.product.v1.eventsend"]: Destruction complete after 0s
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.legacy.account.braze.events.compacted"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.legacy.account.braze.events.compacted|Literal]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.billing.bill-reconciliation-error-events"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.billing.bill-reconciliation-error-events|Literal]
kafka_topic.restore_account_identity_legacy_account_events: Destroying... [id=pubsub.restore-test.account-identity.legacy.account.events]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.legacy.account.braze.events.compacted"]: Destruction complete after 1s
kafka_topic.restore_account_identity_correspondence_address_exception_check_events: Destroying... [id=pubsub.restore-test.account-identity.correspondence.address.exception.check.events]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.billing.bill-reconciliation-error-events"]: Destruction complete after 1s
kafka_topic.restore_service_status_deadletter_v4: Destroying... [id=pubsub.restore-test.customer-proposition.service-status.events.deadletter.v4]
kafka_topic.restore_iam_credentials_v1: Destruction complete after 4s
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.supply.address.debt.exception.check.events"]: Destroying... [id=User:CN=pubsub/test-msk-backup-kafka-connect|*|Write|Allow|Topic|pubsub.restore-test.account-identity.supply.address.debt.exception.check.events|Literal]
module.test_kafka_connect_full_internal_topics.kafka_acl.producer_acl["pubsub.restore-test.account-identity.supply.address.debt.exception.check.events"]: Destruction complete after 1s
kafka_topic.restore_account_identity_supply_address_debt_exception_check_events: Destroying... [id=pubsub.restore-test.account-identity.supply.address.debt.exception.check.events]
kafka_topic.restore_account_identity_correspondence_address_debt_exception_check_events: Destruction complete after 5s
kafka_topic.restore_service_status_v3: Destruction complete after 5s
kafka_topic.restore_account_identity_internal_legacy_account_events: Destruction complete after 5s
kafka_topic.restore_account_identity_legacy_account_holder_events_compacted: Destruction complete after 5s
kafka_topic.restore_account_identity_account_exceptions_v1: Destruction complete after 4s
kafka_topic.restore_account_identity_legacy_account_braze_events_compacted: Destruction complete after 5s
kafka_topic.restore_account_identity_legacy_account_events: Destruction complete after 5s
kafka_topic.restore_account_identity_correspondence_address_exception_check_events: Destruction complete after 4s
kafka_topic.restore_service_status_deadletter_v4: Destruction complete after 5s
kafka_topic.restore_account_identity_supply_address_debt_exception_check_events: Destruction complete after 3s

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: 0 added, 0 changed, 42 destroyed.

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

@sys-terraform-applier
Copy link

Terraform run output for

Cluster: dev-aws
Module: pubsub/kafka-shared-msk-backup-bucket-retention
Path: dev-aws/kafka-shared-msk/msk-backup-bucket-retention
Commit ID: 87bc6db7210156d5d88e6aa6ad57a2e2d2189a79
✅ Run Status: Ok, Run Summary: Apply complete! Resources: 0 added, 1 changed, 0 destroyed
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # aws_s3_bucket_lifecycle_configuration.msk_topics_retention will be updated in-place
  ~ resource "aws_s3_bucket_lifecycle_configuration" "msk_topics_retention" {
        id                                     = "uw-dev-pubsub-msk-backup"
        # (4 unchanged attributes hidden)

      ~ rule {
          ~ id     = "pubsub.restore-test.auth-customer.iam-credentials-v1" -> "unicom.bill-events"
            # (2 unchanged attributes hidden)

          ~ expiration {
              ~ days                         = 8 -> 92
                # (1 unchanged attribute hidden)
            }

          ~ filter {
              ~ prefix = "msk-backup-parquet/pubsub.restore-test.auth-customer.iam-credentials-v1/" -> "msk-backup-parquet/unicom.bill-events/"
            }
        }
      ~ rule {
          ~ id     = "pubsub.restore-test.auth.iam-identitydb-v1" -> "unicom.bill-failed"
            # (2 unchanged attributes hidden)

          ~ expiration {
              ~ days                         = 31 -> 92
                # (1 unchanged attribute hidden)
            }

          ~ filter {
              ~ prefix = "msk-backup-parquet/pubsub.restore-test.auth.iam-identitydb-v1/" -> "msk-backup-parquet/unicom.bill-failed/"
            }
        }
      ~ rule {
          ~ id     = "pubsub.restore-test.billing.bill-reconciliation-error-events" -> "unicom.bounce.2019.1"
            # (2 unchanged attributes hidden)

          ~ expiration {
              ~ days                         = 31 -> 92
                # (1 unchanged attribute hidden)
            }

          ~ filter {
              ~ prefix = "msk-backup-parquet/pubsub.restore-test.billing.bill-reconciliation-error-events/" -> "msk-backup-parquet/unicom.bounce.2019.1/"
            }
        }
      ~ rule {
          ~ id     = "pubsub.restore-test.billing.billing-engine-events-bce-deadletter" -> "unicom.cancel-status.1"
            # (2 unchanged attributes hidden)

          ~ expiration {
              ~ days                         = 31 -> 92
                # (1 unchanged attribute hidden)
            }

          ~ filter {
              ~ prefix = "msk-backup-parquet/pubsub.restore-test.billing.billing-engine-events-bce-deadletter/" -> "msk-backup-parquet/unicom.cancel-status.1/"
            }
        }
      ~ rule {
          ~ id     = "pubsub.restore-test.billing.fixed-width-file-processing-events" -> "unicom.cancellation.1"
            # (2 unchanged attributes hidden)

          ~ expiration {
              ~ days                         = 31 -> 92
                # (1 unchanged attribute hidden)
            }

          ~ filter {
              ~ prefix = "msk-backup-parquet/pubsub.restore-test.billing.fixed-width-file-processing-events/" -> "msk-backup-parquet/unicom.cancellation.1/"
            }
        }
      ~ rule {
          ~ id     = "pubsub.restore-test.energy-platform.meter.read.events.v3" -> "unicom.caps-consent"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/pubsub.restore-test.energy-platform.meter.read.events.v3/" -> "msk-backup-parquet/unicom.caps-consent/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "pubsub.restore-test.unicom.tests" -> "unicom.caps"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/pubsub.restore-test.unicom.tests/" -> "msk-backup-parquet/unicom.caps/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.bill-events" -> "unicom.clx-report"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.bill-events/" -> "msk-backup-parquet/unicom.clx-report/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.bill-failed" -> "unicom.comms-fallback.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.bill-failed/" -> "msk-backup-parquet/unicom.comms-fallback.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.bounce.2019.1" -> "unicom.cost-calculated.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.bounce.2019.1/" -> "msk-backup-parquet/unicom.cost-calculated.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.cancel-status.1" -> "unicom.email-batch.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.cancel-status.1/" -> "msk-backup-parquet/unicom.email-batch.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.cancellation.1" -> "unicom.email-post-delivery.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.cancellation.1/" -> "msk-backup-parquet/unicom.email-post-delivery.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.caps-consent" -> "unicom.email-released-critical.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.caps-consent/" -> "msk-backup-parquet/unicom.email-released-critical.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.caps" -> "unicom.email-released-important.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.caps/" -> "msk-backup-parquet/unicom.email-released-important.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.clx-report" -> "unicom.email-released-mock-critical.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.clx-report/" -> "msk-backup-parquet/unicom.email-released-mock-critical.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.comms-fallback.1" -> "unicom.email-released-mock-important.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.comms-fallback.1/" -> "msk-backup-parquet/unicom.email-released-mock-important.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.cost-calculated.1" -> "unicom.email-released-mock.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.cost-calculated.1/" -> "msk-backup-parquet/unicom.email-released-mock.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-batch.1" -> "unicom.email-released-ses-critical.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-batch.1/" -> "msk-backup-parquet/unicom.email-released-ses-critical.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-post-delivery.1" -> "unicom.email-released-ses-important.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-post-delivery.1/" -> "msk-backup-parquet/unicom.email-released-ses-important.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released-critical.1" -> "unicom.email-released-ses.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released-critical.1/" -> "msk-backup-parquet/unicom.email-released-ses.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released-important.1" -> "unicom.email-released.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released-important.1/" -> "msk-backup-parquet/unicom.email-released.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released-mock-critical.1" -> "unicom.email-status.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released-mock-critical.1/" -> "msk-backup-parquet/unicom.email-status.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released-mock-important.1" -> "unicom.failed"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released-mock-important.1/" -> "msk-backup-parquet/unicom.failed/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released-mock.1" -> "unicom.go-inspire-letter-status.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released-mock.1/" -> "msk-backup-parquet/unicom.go-inspire-letter-status.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released-ses-critical.1" -> "unicom.letter-batch-critical.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released-ses-critical.1/" -> "msk-backup-parquet/unicom.letter-batch-critical.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released-ses-important.1" -> "unicom.letter-batch-important.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released-ses-important.1/" -> "msk-backup-parquet/unicom.letter-batch-important.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released-ses.1" -> "unicom.letter-batch.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released-ses.1/" -> "msk-backup-parquet/unicom.letter-batch.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-released.1" -> "unicom.letter-released-critical.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-released.1/" -> "msk-backup-parquet/unicom.letter-released-critical.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.email-status.1" -> "unicom.letter-released-important.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.email-status.1/" -> "msk-backup-parquet/unicom.letter-released-important.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.failed" -> "unicom.letter-released-mock-critical.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.failed/" -> "msk-backup-parquet/unicom.letter-released-mock-critical.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.go-inspire-letter-status.1" -> "unicom.letter-released-mock-important.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.go-inspire-letter-status.1/" -> "msk-backup-parquet/unicom.letter-released-mock-important.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-batch-critical.1" -> "unicom.letter-released-mock.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-batch-critical.1/" -> "msk-backup-parquet/unicom.letter-released-mock.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-batch-important.1" -> "unicom.letter-released.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-batch-important.1/" -> "msk-backup-parquet/unicom.letter-released.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-batch.1" -> "unicom.letter-send-adare"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-batch.1/" -> "msk-backup-parquet/unicom.letter-send-adare/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-released-critical.1" -> "unicom.letter-status.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-released-critical.1/" -> "msk-backup-parquet/unicom.letter-status.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-released-important.1" -> "unicom.mparticle-output-integration"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-released-important.1/" -> "msk-backup-parquet/unicom.mparticle-output-integration/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-released-mock-critical.1" -> "unicom.orchestration-entity.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-released-mock-critical.1/" -> "msk-backup-parquet/unicom.orchestration-entity.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-released-mock-important.1" -> "unicom.orchestration-rule-execution.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-released-mock-important.1/" -> "msk-backup-parquet/unicom.orchestration-rule-execution.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-released-mock.1" -> "unicom.outbound-call-request"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-released-mock.1/" -> "msk-backup-parquet/unicom.outbound-call-request/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-released.1" -> "unicom.push-notification-released.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-released.1/" -> "msk-backup-parquet/unicom.push-notification-released.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-send-adare" -> "unicom.push-notification-status.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-send-adare/" -> "msk-backup-parquet/unicom.push-notification-status.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.letter-status.1" -> "unicom.rejected"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.letter-status.1/" -> "msk-backup-parquet/unicom.rejected/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.mparticle-output-integration" -> "unicom.rendered.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.mparticle-output-integration/" -> "msk-backup-parquet/unicom.rendered.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.orchestration-entity.1" -> "unicom.requests"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.orchestration-entity.1/" -> "msk-backup-parquet/unicom.requests/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.orchestration-rule-execution.1" -> "unicom.scheduled.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.orchestration-rule-execution.1/" -> "msk-backup-parquet/unicom.scheduled.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.outbound-call-request" -> "unicom.send-notification.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.outbound-call-request/" -> "msk-backup-parquet/unicom.send-notification.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.push-notification-released.1" -> "unicom.sftp-status"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.push-notification-released.1/" -> "msk-backup-parquet/unicom.sftp-status/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.push-notification-status.1" -> "unicom.sms-batch.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.push-notification-status.1/" -> "msk-backup-parquet/unicom.sms-batch.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.rejected" -> "unicom.sms-released-critical.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.rejected/" -> "msk-backup-parquet/unicom.sms-released-critical.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.rendered.1" -> "unicom.sms-released-important.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.rendered.1/" -> "msk-backup-parquet/unicom.sms-released-important.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.requests" -> "unicom.sms-released.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.requests/" -> "msk-backup-parquet/unicom.sms-released.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.scheduled.1" -> "unicom.sms-status.1"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.scheduled.1/" -> "msk-backup-parquet/unicom.sms-status.1/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.send-notification.1" -> "unicom.status-bill-email-connector"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.send-notification.1/" -> "msk-backup-parquet/unicom.status-bill-email-connector/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.sftp-status" -> "unicom.status-energy-smets1-notifier"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.sftp-status/" -> "msk-backup-parquet/unicom.status-energy-smets1-notifier/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.sms-batch.1" -> "unicom.status-finance-email-delivery-engine"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.sms-batch.1/" -> "msk-backup-parquet/unicom.status-finance-email-delivery-engine/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.sms-released-critical.1" -> "unicom.status-v2"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.sms-released-critical.1/" -> "msk-backup-parquet/unicom.status-v2/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.sms-released-important.1" -> "unicom.status"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.sms-released-important.1/" -> "msk-backup-parquet/unicom.status/"
            }

            # (1 unchanged block hidden)
        }
      ~ rule {
          ~ id     = "unicom.sms-released.1" -> "unicom.tests"
            # (2 unchanged attributes hidden)

          ~ filter {
              ~ prefix = "msk-backup-parquet/unicom.sms-released.1/" -> "msk-backup-parquet/unicom.tests/"
            }

            # (1 unchanged block hidden)
        }
      - rule {
          - id     = "unicom.sms-status.1" -> null
          - status = "Enabled" -> null
            # (1 unchanged attribute hidden)

          - expiration {
              - days                         = 92 -> null
              - expired_object_delete_marker = false -> null
            }

          - filter {
              - prefix = "msk-backup-parquet/unicom.sms-status.1/" -> null
            }
        }
      - rule {
          - id     = "unicom.status-bill-email-connector" -> null
          - status = "Enabled" -> null
            # (1 unchanged attribute hidden)

          - expiration {
              - days                         = 92 -> null
              - expired_object_delete_marker = false -> null
            }

          - filter {
              - prefix = "msk-backup-parquet/unicom.status-bill-email-connector/" -> null
            }
        }
      - rule {
          - id     = "unicom.status-energy-smets1-notifier" -> null
          - status = "Enabled" -> null
            # (1 unchanged attribute hidden)

          - expiration {
              - days                         = 92 -> null
              - expired_object_delete_marker = false -> null
            }

          - filter {
              - prefix = "msk-backup-parquet/unicom.status-energy-smets1-notifier/" -> null
            }
        }
      - rule {
          - id     = "unicom.status-finance-email-delivery-engine" -> null
          - status = "Enabled" -> null
            # (1 unchanged attribute hidden)

          - expiration {
              - days                         = 92 -> null
              - expired_object_delete_marker = false -> null
            }

          - filter {
              - prefix = "msk-backup-parquet/unicom.status-finance-email-delivery-engine/" -> null
            }
        }
      - rule {
          - id     = "unicom.status-v2" -> null
          - status = "Enabled" -> null
            # (1 unchanged attribute hidden)

          - expiration {
              - days                         = 92 -> null
              - expired_object_delete_marker = false -> null
            }

          - filter {
              - prefix = "msk-backup-parquet/unicom.status-v2/" -> null
            }
        }
      - rule {
          - id     = "unicom.status" -> null
          - status = "Enabled" -> null
            # (1 unchanged attribute hidden)

          - expiration {
              - days                         = 92 -> null
              - expired_object_delete_marker = false -> null
            }

          - filter {
              - prefix = "msk-backup-parquet/unicom.status/" -> null
            }
        }
      - rule {
          - id     = "unicom.tests" -> null
          - status = "Enabled" -> null
            # (1 unchanged attribute hidden)

          - expiration {
              - days                         = 92 -> null
              - expired_object_delete_marker = false -> null
            }

          - filter {
              - prefix = "msk-backup-parquet/unicom.tests/" -> null
            }
        }

        # (126 unchanged blocks hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.
aws_s3_bucket_lifecycle_configuration.msk_topics_retention: Modifying... [id=uw-dev-pubsub-msk-backup]
aws_s3_bucket_lifecycle_configuration.msk_topics_retention: Still modifying... [id=uw-dev-pubsub-msk-backup, 00m10s elapsed]
aws_s3_bucket_lifecycle_configuration.msk_topics_retention: Still modifying... [id=uw-dev-pubsub-msk-backup, 00m20s elapsed]
aws_s3_bucket_lifecycle_configuration.msk_topics_retention: Still modifying... [id=uw-dev-pubsub-msk-backup, 00m30s elapsed]
aws_s3_bucket_lifecycle_configuration.msk_topics_retention: Still modifying... [id=uw-dev-pubsub-msk-backup, 00m40s elapsed]
aws_s3_bucket_lifecycle_configuration.msk_topics_retention: Still modifying... [id=uw-dev-pubsub-msk-backup, 00m50s elapsed]
aws_s3_bucket_lifecycle_configuration.msk_topics_retention: Modifications complete after 57s [id=uw-dev-pubsub-msk-backup]

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

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