devops100net documentation

Gitlab Repos

Gitlab Repos

azure-2024Xiac-terraformXazure-aksXpipelines

CI Pipelines deployment Azure AKS

 

Overview of the CI Pipelines

image.png

Merge the branch into main branch triggers the deployment to Azure

image.png

Details of the 'terraform apply' Job (part 1)

image.png

Details of the 'terraform apply' Job (part 2)

image.png

 

Gitlab Repos

aws-2025-iac-streaming-terraform

Work Notes with TF deployment on AWS (Work in Progess - March 2025)



TF plan / apply

Terraform plan - apply

Reference to

https://aws.amazon.com/blogs/containers/deploying-and-scaling-apache-kafka-on-amazon-eks/

 # module.eks.module.eks_managed_node_group["core_node_group"].module.user_data.null_resource.validate_cluster_service_cidr will be created
  + resource "null_resource" "validate_cluster_service_cidr" {
      + id = (known after apply)
    }

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

Changes to Outputs:
  + configure_kubectl   = "aws eks --region eu-west-3 update-kubeconfig --name kafka-on-eks"
  + grafana_secret_name = "kafka-on-eks-grafana"

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Saved the plan to: 253B-stream-kafka.tfplan

To perform exactly these actions, run the following command to apply:
    terraform apply "253B-stream-kafka.tfplan"

devops100@hetz-root ~/gitlab/devops100net/2025-aws/data-on-eks/streaming/kafka (main)$

devops100@hetz-root ~/gitlab/devops100net/2025-aws/data-on-eks/streaming/kafka (main)$ terraform apply "253B-stream-kafka.tfplan"
random_password.grafana: Creating...
module.eks_blueprints_addons.random_bytes.this: Creating...
module.eks_blueprints_addons.random_bytes.this: Creation complete after 0s
random_password.grafana: Creation complete after 0s [id=none]
aws_prometheus_workspace.amp[0]: Creating...
aws_iam_policy.grafana[0]: Creating...
aws_secretsmanager_secret.grafana: Creating...
module.eks.aws_iam_role.this[0]: Creating...
module.vpc.aws_vpc.this[0]: Creating...
module.eks.module.eks_managed_node_group["core_node_group"].aws_iam_role.this[0]: Creating...
module.ebs_csi_driver_irsa.aws_iam_policy.ebs_csi[0]: Creating...
aws_secretsmanager_secret.grafana: Creation complete after 0s [id=arn:aws:secretsmanager:eu-west-3:453578755218:secret:kafka-on-eks-grafana-6mQuH1]
aws_secretsmanager_secret_version.grafana: Creating...
aws_secretsmanager_secret_version.grafana: Creation complete after 0s [id=arn:aws:secretsmanager:eu-west-3:453578755218:secret:kafka-on-eks-grafana-6mQuH1|terraform-20250325200013062400000006]
data.aws_secretsmanager_secret_version.admin_password_version: Reading...
data.aws_secretsmanager_secret_version.admin_password_version: Read complete after 0s [id=arn:aws:secretsmanager:eu-west-3:453578755218:secret:kafka-on-eks-grafana-6mQuH1|AWSCURRENT]
module.ebs_csi_driver_irsa.aws_iam_policy.ebs_csi[0]: Creation complete after 1s [id=arn:aws:iam::453578755218:policy/AmazonEKS_EBS_CSI_Policy-20250325200012845800000005]
aws_iam_policy.grafana[0]: Creation complete after 1s [id=arn:aws:iam::453578755218:policy/kafka-on-eks-grafana-20250325200012836000000002]
module.eks.aws_iam_role.this[0]: Creation complete after 1s [id=kafka-on-eks-cluster-20250325200012836600000003]
module.eks.aws_iam_role_policy_attachment.this["AmazonEKSVPCResourceController"]: Creating...
module.eks.aws_iam_role_policy_attachment.this["AmazonEKSClusterPolicy"]: Creating...
module.eks.module.eks_managed_node_group["core_node_group"].aws_iam_role.this[0]: Creation complete after 1s [id=core-node-group-eks-node-group-20250325200012840200000004]
module.eks.module.kms.data.aws_iam_policy_document.this[0]: Reading...
module.eks.module.kms.data.aws_iam_policy_document.this[0]: Read complete after 0s [id=1056995596]
module.eks.module.eks_managed_node_group["core_node_group"].aws_iam_role_policy_attachment.this["AmazonEC2ContainerRegistryReadOnly"]: Creating...
module.eks.module.eks_managed_node_group["core_node_group"].aws_iam_role_policy_attachment.this["AmazonEKS_CNI_Policy"]: Creating...
module.eks.module.eks_managed_node_group["core_node_group"].aws_iam_role_policy_attachment.this["AmazonEKSWorkerNodePolicy"]: Creating...
module.eks.module.kms.aws_kms_key.this[0]: Creating...
aws_prometheus_workspace.amp[0]: Creation complete after 1s [id=ws-f3ae6f1e-a922-4c0a-beb3-5a9bd5a1ff61]
module.eks.aws_iam_role_policy_attachment.this["AmazonEKSClusterPolicy"]: Creation complete after 0s [id=kafka-on-eks-cluster-20250325200012836600000003-20250325200013974300000007]
module.eks.aws_iam_role_policy_attachment.this["AmazonEKSVPCResourceController"]: Creation complete after 0s [id=kafka-on-eks-cluster-20250325200012836600000003-20250325200014034000000009]
module.eks.module.eks_managed_node_group["core_node_group"].aws_iam_role_policy_attachment.this["AmazonEC2ContainerRegistryReadOnly"]: Creation complete after 0s [id=core-node-group-eks-node-group-20250325200012840200000004-20250325200014023300000008]
module.eks.module.eks_managed_node_group["core_node_group"].aws_iam_role_policy_attachment.this["AmazonEKS_CNI_Policy"]: Creation complete after 0s [id=core-node-group-eks-node-group-20250325200012840200000004-2025032520001404770000000a]
module.eks.module.eks_managed_node_group["core_node_group"].aws_iam_role_policy_attachment.this["AmazonEKSWorkerNodePolicy"]: Creation complete after 0s [id=core-node-group-eks-node-group-20250325200012840200000004-2025032520001417830000000b]
module.vpc.aws_vpc.this[0]: Still creating... [10s elapsed]
module.eks.module.kms.aws_kms_key.this[0]: Still creating... [10s elapsed]
module.vpc.aws_vpc.this[0]: Creation complete after 12s [id=vpc-044d1e66a849070b5]
module.vpc.aws_vpc_ipv4_cidr_block_association.this[0]: Creating...
module.vpc.aws_default_route_table.default[0]: Creating...
module.vpc.aws_default_security_group.this[0]: Creating...
module.eks.aws_security_group.cluster[0]: Creating...
module.eks.aws_security_group.node[0]: Creating...
module.vpc.aws_default_network_acl.this[0]: Creating...
module.vpc.aws_default_route_table.default[0]: Creation complete after 0s [id=rtb-0ef1e0d83248674ed]
module.vpc.aws_default_network_acl.this[0]: Creation complete after 1s [id=acl-07f610decbdee98db]
module.vpc.aws_default_security_group.this[0]: Creation complete after 1s [id=sg-0f262257ddf023998]
module.eks.aws_security_group.cluster[0]: Creation complete after 1s [id=sg-0cf42abaa5950af55]
module.eks.aws_security_group.node[0]: Creation complete after 1s [id=sg-0260828b2b9e7332d]
module.eks.aws_security_group_rule.node["ingress_self_all"]: Creating...
module.eks.aws_security_group_rule.node["egress_all"]: Creating...
module.eks.aws_security_group_rule.node["ingress_nodes_ephemeral"]: Creating...
module.eks.aws_security_group_rule.node["ingress_self_coredns_tcp"]: Creating...
module.eks.aws_security_group_rule.node["ingress_cluster_kubelet"]: Creating...
module.eks.aws_security_group_rule.node["ingress_cluster_4443_webhook"]: Creating...
module.eks.aws_security_group_rule.node["ingress_cluster_6443_webhook"]: Creating...
module.eks.aws_security_group_rule.node["ingress_cluster_443"]: Creating...
module.eks.aws_security_group_rule.node["ingress_self_all"]: Creation complete after 1s [id=sgrule-3040764290]
module.eks.aws_security_group_rule.node["ingress_cluster_to_node_all_traffic"]: Creating...
module.eks.aws_security_group_rule.node["egress_all"]: Creation complete after 1s [id=sgrule-617896639]
module.eks.aws_security_group_rule.node["ingress_self_coredns_udp"]: Creating...
module.eks.aws_security_group_rule.node["ingress_cluster_6443_webhook"]: Creation complete after 2s [id=sgrule-3071882580]
module.eks.aws_security_group_rule.node["ingress_cluster_9443_webhook"]: Creating...
module.eks.aws_security_group_rule.node["ingress_nodes_ephemeral"]: Creation complete after 3s [id=sgrule-3784472253]
module.eks.aws_security_group_rule.node["ingress_cluster_8443_webhook"]: Creating...
module.eks.aws_security_group_rule.node["ingress_cluster_kubelet"]: Creation complete after 3s [id=sgrule-3744730541]
module.eks.aws_security_group_rule.cluster["ingress_nodes_443"]: Creating...
module.eks.aws_security_group_rule.node["ingress_self_coredns_tcp"]: Creation complete after 4s [id=sgrule-3505406625]
module.eks.aws_security_group_rule.cluster["ingress_nodes_ephemeral_ports_tcp"]: Creating...
module.eks.aws_security_group_rule.cluster["ingress_nodes_443"]: Creation complete after 1s [id=sgrule-1564992646]
module.eks.aws_security_group_rule.node["ingress_cluster_4443_webhook"]: Creation complete after 4s [id=sgrule-2119914178]
module.eks.aws_security_group_rule.cluster["ingress_nodes_ephemeral_ports_tcp"]: Creation complete after 0s [id=sgrule-729290184]
module.eks.aws_security_group_rule.node["ingress_cluster_443"]: Creation complete after 5s [id=sgrule-4097031589]
module.eks.aws_security_group_rule.node["ingress_cluster_to_node_all_traffic"]: Creation complete after 4s [id=sgrule-1128474055]
module.eks.aws_security_group_rule.node["ingress_self_coredns_udp"]: Creation complete after 5s [id=sgrule-1957683534]
module.eks.aws_security_group_rule.node["ingress_cluster_9443_webhook"]: Creation complete after 4s [id=sgrule-3236182718]
module.eks.aws_security_group_rule.node["ingress_cluster_8443_webhook"]: Creation complete after 4s [id=sgrule-2755987829]
module.eks.module.kms.aws_kms_key.this[0]: Still creating... [20s elapsed]
module.eks.module.kms.aws_kms_key.this[0]: Creation complete after 20s [id=a84c690e-ad88-4fdc-8e72-3c369e8ec94f]
module.eks.module.kms.aws_kms_alias.this["cluster"]: Creating...
module.eks.aws_iam_policy.cluster_encryption[0]: Creating...
module.eks.module.kms.aws_kms_alias.this["cluster"]: Creation complete after 0s [id=alias/eks/kafka-on-eks]
module.vpc.aws_vpc_ipv4_cidr_block_association.this[0]: Still creating... [10s elapsed]
module.eks.aws_iam_policy.cluster_encryption[0]: Creation complete after 1s [id=arn:aws:iam::453578755218:policy/kafka-on-eks-cluster-ClusterEncryption2025032520003404830000000e]
module.eks.aws_iam_role_policy_attachment.cluster_encryption[0]: Creating...
module.vpc.aws_vpc_ipv4_cidr_block_association.this[0]: Creation complete after 10s [id=vpc-cidr-assoc-01e97be317bd768d7]
module.vpc.aws_internet_gateway.this[0]: Creating...
module.vpc.aws_route_table.public[0]: Creating...
module.vpc.aws_subnet.private[1]: Creating...
module.vpc.aws_subnet.public[0]: Creating...
module.vpc.aws_route_table.private[0]: Creating...
module.vpc.aws_subnet.private[3]: Creating...
module.vpc.aws_subnet.private[0]: Creating...
module.vpc.aws_subnet.public[1]: Creating...
module.vpc.aws_subnet.private[2]: Creating...
module.eks.aws_iam_role_policy_attachment.cluster_encryption[0]: Creation complete after 0s [id=kafka-on-eks-cluster-20250325200012836600000003-2025032520003478000000000f]
module.vpc.aws_internet_gateway.this[0]: Creation complete after 0s [id=igw-073a22a97a4a4828c]
module.vpc.aws_eip.nat[0]: Creating...
module.vpc.aws_route_table.public[0]: Creation complete after 0s [id=rtb-09b11f536c68af9da]
module.vpc.aws_route.public_internet_gateway[0]: Creating...
module.vpc.aws_route_table.private[0]: Creation complete after 0s [id=rtb-05191b3b4aa6f8c1c]
module.vpc.aws_subnet.public[0]: Creation complete after 0s [id=subnet-0e71cc4c12b0a19be]
module.vpc.aws_subnet.private[1]: Creation complete after 0s [id=subnet-078fea5f462eccca2]
module.vpc.aws_subnet.private[0]: Creation complete after 0s [id=subnet-00f0ecadfffa640fe]
module.vpc.aws_subnet.private[3]: Creation complete after 0s [id=subnet-03e720ac4459834f3]
module.vpc.aws_route.public_internet_gateway[0]: Creation complete after 1s [id=r-rtb-09b11f536c68af9da1080289494]
module.vpc.aws_eip.nat[0]: Creation complete after 1s [id=eipalloc-039d732babe576454]
module.vpc.aws_subnet.private[2]: Creation complete after 2s [id=subnet-080a989bbc3042197]
module.vpc.aws_route_table_association.private[0]: Creating...
module.vpc.aws_route_table_association.private[1]: Creating...
module.vpc.aws_route_table_association.private[2]: Creating...
module.vpc.aws_route_table_association.private[3]: Creating...
module.eks.aws_eks_cluster.this[0]: Creating...
module.vpc.aws_route_table_association.private[3]: Creation complete after 0s [id=rtbassoc-0a8c3e0855d438545]
module.vpc.aws_route_table_association.private[1]: Creation complete after 0s [id=rtbassoc-07429e5a5719491d7]
module.vpc.aws_route_table_association.private[0]: Creation complete after 0s [id=rtbassoc-0bac95d907e642602]
module.vpc.aws_route_table_association.private[2]: Creation complete after 0s [id=rtbassoc-0f0afc88796bb4757]
module.vpc.aws_subnet.public[1]: Creation complete after 3s [id=subnet-0db2499f3f31bbf5c]
module.vpc.aws_route_table_association.public[1]: Creating...
module.vpc.aws_route_table_association.public[0]: Creating...
module.vpc.aws_nat_gateway.this[0]: Creating...
module.vpc.aws_route_table_association.public[1]: Creation complete after 0s [id=rtbassoc-009eef1a7a8d53118]
module.vpc.aws_route_table_association.public[0]: Creation complete after 0s [id=rtbassoc-0c20e03083cb5efa4]
module.eks.aws_eks_cluster.this[0]: Still creating... [10s elapsed]
module.vpc.aws_nat_gateway.this[0]: Still creating... [10s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [20s elapsed]
module.vpc.aws_nat_gateway.this[0]: Still creating... [20s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [30s elapsed]
module.vpc.aws_nat_gateway.this[0]: Still creating... [30s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [40s elapsed]
module.vpc.aws_nat_gateway.this[0]: Still creating... [40s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [50s elapsed]
module.vpc.aws_nat_gateway.this[0]: Still creating... [50s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [1m0s elapsed]
module.vpc.aws_nat_gateway.this[0]: Still creating... [1m0s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [1m10s elapsed]
module.vpc.aws_nat_gateway.this[0]: Still creating... [1m10s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [1m20s elapsed]
module.vpc.aws_nat_gateway.this[0]: Still creating... [1m20s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [1m30s elapsed]
module.vpc.aws_nat_gateway.this[0]: Still creating... [1m30s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [1m40s elapsed]
module.vpc.aws_nat_gateway.this[0]: Still creating... [1m40s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [1m50s elapsed]
module.vpc.aws_nat_gateway.this[0]: Still creating... [1m50s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [2m0s elapsed]
module.vpc.aws_nat_gateway.this[0]: Still creating... [2m0s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [2m10s elapsed]
module.vpc.aws_nat_gateway.this[0]: Still creating... [2m10s elapsed]
module.vpc.aws_nat_gateway.this[0]: Creation complete after 2m14s [id=nat-0684dffa076df384a]
module.vpc.aws_route.private_nat_gateway[0]: Creating...
module.vpc.aws_route.private_nat_gateway[0]: Creation complete after 1s [id=r-rtb-05191b3b4aa6f8c1c1080289494]
module.eks.aws_eks_cluster.this[0]: Still creating... [2m20s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [2m30s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [2m40s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [2m50s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [3m0s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [3m10s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [3m20s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [3m30s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [3m40s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [3m50s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [4m0s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [4m10s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [4m20s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [4m30s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [4m40s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [4m50s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [5m0s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [5m10s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [5m20s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [5m30s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [5m40s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [5m50s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [6m0s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [6m10s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [6m20s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [6m30s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [6m40s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [6m50s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [7m0s elapsed]
module.eks.aws_eks_cluster.this[0]: Still creating... [7m10s elapsed]
module.eks.aws_eks_cluster.this[0]: Creation complete after 7m12s [id=kafka-on-eks]
module.eks.data.tls_certificate.this[0]: Reading...
module.eks.aws_ec2_tag.cluster_primary_security_group["GithubRepo"]: Creating...
module.eks.aws_ec2_tag.cluster_primary_security_group["karpenter.sh/discovery"]: Creating...
module.eks.aws_ec2_tag.cluster_primary_security_group["Blueprint"]: Creating...
module.eks.aws_eks_access_entry.this["cluster_creator"]: Creating...
module.eks.data.tls_certificate.this[0]: Read complete after 0s [id=0563bd16277ca9e04f46d1ebcff7321aa45e500c]
module.eks_blueprints_addons.aws_cloudwatch_event_rule.karpenter["spot_interupt"]: Creating...
module.eks.time_sleep.this[0]: Creating...
module.eks_blueprints_addons.aws_cloudwatch_event_rule.karpenter["health_event"]: Creating...
module.eks_blueprints_addons.aws_cloudwatch_event_rule.karpenter["instance_state_change"]: Creating...
module.eks_blueprints_addons.aws_cloudformation_stack.usage_telemetry[0]: Creating...
module.eks_blueprints_addons.aws_cloudwatch_event_rule.karpenter["instance_rebalance"]: Creating...
module.eks_blueprints_addons.aws_cloudwatch_event_rule.karpenter["health_event"]: Creation complete after 0s [id=Karpenter-HealthEvent-20250325200749012700000014]
module.eks_blueprints_addons.aws_cloudwatch_event_rule.karpenter["instance_state_change"]: Creation complete after 0s [id=Karpenter-InstanceStateChange-20250325200749013400000015]
module.eks_blueprints_addons.aws_cloudwatch_event_rule.karpenter["spot_interupt"]: Creation complete after 0s [id=Karpenter-SpotInterrupt-20250325200748986100000013]
module.eks_blueprints_addons.aws_cloudwatch_event_rule.karpenter["instance_rebalance"]: Creation complete after 0s [id=Karpenter-InstanceRebalance-20250325200749101500000017]
module.eks_blueprints_addons.aws_iam_role.karpenter[0]: Creating...
module.eks.aws_iam_openid_connect_provider.oidc_provider[0]: Creating...
module.eks_blueprints_addons.module.karpenter_sqs.aws_sqs_queue.this[0]: Creating...
module.eks.aws_ec2_tag.cluster_primary_security_group["Blueprint"]: Creation complete after 0s [id=sg-06158ca938b005da0,Blueprint]
module.eks.aws_ec2_tag.cluster_primary_security_group["karpenter.sh/discovery"]: Creation complete after 0s [id=sg-06158ca938b005da0,karpenter.sh/discovery]
module.eks.aws_ec2_tag.cluster_primary_security_group["GithubRepo"]: Creation complete after 0s [id=sg-06158ca938b005da0,GithubRepo]
module.eks.aws_eks_access_entry.this["cluster_creator"]: Creation complete after 1s [id=kafka-on-eks:arn:aws:iam::453578755218:user/iac-user-1]
module.eks.aws_eks_access_policy_association.this["cluster_creator_admin"]: Creating...
module.eks.aws_iam_openid_connect_provider.oidc_provider[0]: Creation complete after 1s [id=arn:aws:iam::453578755218:oidc-provider/oidc.eks.eu-west-3.amazonaws.com/id/BC11079A38C72B82F85C259F17093E21]
module.ebs_csi_driver_irsa.data.aws_iam_policy_document.this[0]: Reading...
module.amp_ingest_irsa[0].data.aws_iam_policy_document.assume[0]: Reading...
module.eks_blueprints_addons.time_sleep.this: Creating...
module.ebs_csi_driver_irsa.data.aws_iam_policy_document.this[0]: Read complete after 0s [id=225566436]
module.amp_ingest_irsa[0].data.aws_iam_policy_document.assume[0]: Read complete after 0s [id=3412265906]
module.eks_blueprints_addons.module.metrics_server.helm_release.this[0]: Creating...
module.ebs_csi_driver_irsa.aws_iam_role.this[0]: Creating...
module.amp_ingest_irsa[0].aws_iam_role.this[0]: Creating...
module.eks.aws_eks_access_policy_association.this["cluster_creator_admin"]: Creation complete after 0s [id=kafka-on-eks#arn:aws:iam::453578755218:user/iac-user-1#arn:aws:eks::aws:cluster-access-policy/AmazonEKSClusterAdminPolicy]
module.eks_blueprints_addons.aws_iam_role.karpenter[0]: Creation complete after 1s [id=karpenter-kafka-on-eks]
module.eks_blueprints_addons.aws_iam_role_policy_attachment.additional["AmazonSSMManagedInstanceCore"]: Creating...
module.eks_blueprints_addons.aws_iam_role_policy_attachment.karpenter["AmazonEKSWorkerNodePolicy"]: Creating...
module.eks_blueprints_addons.aws_iam_instance_profile.karpenter[0]: Creating...
module.eks_blueprints_addons.aws_iam_role_policy_attachment.additional["AmazonSSMManagedInstanceCore"]: Creation complete after 1s [id=karpenter-kafka-on-eks-2025032520075049990000001a]
module.eks_blueprints_addons.aws_iam_role_policy_attachment.karpenter["AmazonEKSWorkerNodePolicy"]: Creation complete after 1s [id=karpenter-kafka-on-eks-2025032520075050680000001b]
module.eks_blueprints_addons.aws_iam_role_policy_attachment.karpenter["AmazonEKS_CNI_Policy"]: Creating...
module.eks_blueprints_addons.aws_iam_role_policy_attachment.karpenter["AmazonEC2ContainerRegistryReadOnly"]: Creating...
module.ebs_csi_driver_irsa.aws_iam_role.this[0]: Creation complete after 1s [id=kafka-on-eks-ebs-csi-driver-20250325200749997000000018]
module.ebs_csi_driver_irsa.aws_iam_role_policy_attachment.ebs_csi[0]: Creating...
module.amp_ingest_irsa[0].aws_iam_role.this[0]: Creation complete after 1s [id=kafka-on-eks-amp-ingest-20250325200749997300000019]
module.amp_ingest_irsa[0].aws_iam_role_policy_attachment.additional["amp_policy"]: Creating...
module.eks_blueprints_addons.aws_iam_role_policy_attachment.karpenter["AmazonEKS_CNI_Policy"]: Creation complete after 0s [id=karpenter-kafka-on-eks-2025032520075086930000001c]
module.ebs_csi_driver_irsa.aws_iam_role_policy_attachment.ebs_csi[0]: Creation complete after 0s [id=kafka-on-eks-ebs-csi-driver-20250325200749997000000018-2025032520075089990000001d]
module.amp_ingest_irsa[0].aws_iam_role_policy_attachment.additional["amp_policy"]: Creation complete after 0s [id=kafka-on-eks-amp-ingest-20250325200749997300000019-2025032520075096750000001f]
module.eks_blueprints_addons.aws_iam_role_policy_attachment.karpenter["AmazonEC2ContainerRegistryReadOnly"]: Creation complete after 0s [id=karpenter-kafka-on-eks-2025032520075092150000001e]
module.eks_blueprints_addons.module.metrics_server.helm_release.this[0]: Creation complete after 2s [id=metrics-server]
module.eks_blueprints_addons.aws_iam_instance_profile.karpenter[0]: Creation complete after 7s [id=karpenter-kafka-on-eks]
module.eks.time_sleep.this[0]: Still creating... [10s elapsed]
module.eks_blueprints_addons.aws_cloudformation_stack.usage_telemetry[0]: Still creating... [10s elapsed]
module.eks_blueprints_addons.module.karpenter_sqs.aws_sqs_queue.this[0]: Still creating... [10s elapsed]
module.eks_blueprints_addons.aws_cloudformation_stack.usage_telemetry[0]: Creation complete after 10s [id=arn:aws:cloudformation:eu-west-3:453578755218:stack/kafka-on-eks-27c8/d3423460-09b4-11f0-babb-0e0ce23ffb03]
module.eks_blueprints_addons.time_sleep.this: Still creating... [10s elapsed]
module.eks.time_sleep.this[0]: Still creating... [20s elapsed]
module.eks_blueprints_addons.module.karpenter_sqs.aws_sqs_queue.this[0]: Still creating... [20s elapsed]
module.eks_blueprints_addons.time_sleep.this: Still creating... [20s elapsed]
module.eks_blueprints_addons.module.karpenter_sqs.aws_sqs_queue.this[0]: Creation complete after 26s [id=https://sqs.eu-west-3.amazonaws.com/453578755218/karpenter-kafka-on-eks]
module.eks_blueprints_addons.module.karpenter_sqs.data.aws_iam_policy_document.this[0]: Reading...
module.eks_blueprints_addons.module.karpenter_sqs.data.aws_iam_policy_document.this[0]: Read complete after 0s [id=3827299351]
module.eks_blueprints_addons.data.aws_iam_policy_document.karpenter[0]: Reading...
module.eks_blueprints_addons.aws_cloudwatch_event_target.karpenter["health_event"]: Creating...
module.eks_blueprints_addons.aws_cloudwatch_event_target.karpenter["spot_interupt"]: Creating...
module.eks_blueprints_addons.aws_cloudwatch_event_target.karpenter["instance_state_change"]: Creating...
module.eks_blueprints_addons.aws_cloudwatch_event_target.karpenter["instance_rebalance"]: Creating...
module.eks_blueprints_addons.data.aws_iam_policy_document.karpenter[0]: Read complete after 0s [id=1456613870]
module.eks_blueprints_addons.module.karpenter_sqs.aws_sqs_queue_policy.this[0]: Creating...
module.eks_blueprints_addons.module.karpenter.data.aws_iam_policy_document.this[0]: Reading...
module.eks_blueprints_addons.module.karpenter.data.aws_iam_policy_document.this[0]: Read complete after 0s [id=1456613870]
module.eks_blueprints_addons.module.karpenter.aws_iam_policy.this[0]: Creating...
module.eks_blueprints_addons.aws_cloudwatch_event_target.karpenter["health_event"]: Creation complete after 0s [id=Karpenter-HealthEvent-20250325200749012700000014-KarpenterQueueTarget]
module.eks_blueprints_addons.aws_cloudwatch_event_target.karpenter["spot_interupt"]: Creation complete after 0s [id=Karpenter-SpotInterrupt-20250325200748986100000013-KarpenterQueueTarget]
module.eks_blueprints_addons.aws_cloudwatch_event_target.karpenter["instance_rebalance"]: Creation complete after 0s [id=Karpenter-InstanceRebalance-20250325200749101500000017-KarpenterQueueTarget]
module.eks_blueprints_addons.aws_cloudwatch_event_target.karpenter["instance_state_change"]: Creation complete after 0s [id=Karpenter-InstanceStateChange-20250325200749013400000015-KarpenterQueueTarget]
module.eks_blueprints_addons.module.karpenter.aws_iam_policy.this[0]: Creation complete after 0s [id=arn:aws:iam::453578755218:policy/karpenter-20250325200814697200000020]
module.eks.time_sleep.this[0]: Still creating... [30s elapsed]
module.eks.time_sleep.this[0]: Creation complete after 30s [id=2025-03-25T20:08:19Z]
module.eks.module.eks_managed_node_group["core_node_group"].module.user_data.null_resource.validate_cluster_service_cidr: Creating...
module.eks.module.eks_managed_node_group["core_node_group"].module.user_data.null_resource.validate_cluster_service_cidr: Creation complete after 0s [id=1333447053594588899]
module.eks.module.eks_managed_node_group["core_node_group"].aws_launch_template.this[0]: Creating...
module.eks_blueprints_addons.time_sleep.this: Still creating... [30s elapsed]
module.eks_blueprints_addons.time_sleep.this: Creation complete after 30s [id=2025-03-25T20:08:19Z]
module.eks_blueprints_addons.module.karpenter.data.aws_iam_policy_document.assume[0]: Reading...
module.eks_blueprints_addons.aws_eks_addon.this["kube-proxy"]: Creating...
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Creating...
module.eks_blueprints_addons.aws_eks_addon.this["vpc-cni"]: Creating...
module.eks_blueprints_addons.module.karpenter.data.aws_iam_policy_document.assume[0]: Read complete after 0s [id=924903485]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Creating...
module.eks_blueprints_addons.module.karpenter.aws_iam_role.this[0]: Creating...
module.eks_blueprints_addons.module.karpenter.aws_iam_role.this[0]: Creation complete after 1s [id=karpenter-20250325200820024400000027]
module.eks_blueprints_addons.module.karpenter.aws_iam_role_policy_attachment.this[0]: Creating...
module.eks_blueprints_addons.module.karpenter.aws_iam_role_policy_attachment.this[0]: Creation complete after 0s [id=karpenter-20250325200820024400000027-20250325200820868100000028]
module.eks_blueprints_addons.module.karpenter.helm_release.this[0]: Creating...
module.eks.module.eks_managed_node_group["core_node_group"].aws_launch_template.this[0]: Creation complete after 6s [id=lt-0f2081899cfea9c82]
module.eks_blueprints_addons.module.karpenter_sqs.aws_sqs_queue_policy.this[0]: Still creating... [10s elapsed]
module.eks.module.eks_managed_node_group["core_node_group"].aws_eks_node_group.this[0]: Creating...
module.eks_blueprints_addons.module.karpenter.helm_release.this[0]: Creation complete after 3s [id=karpenter]
module.eks_blueprints_addons.aws_eks_addon.this["kube-proxy"]: Creation complete after 7s [id=kafka-on-eks:kube-proxy]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["vpc-cni"]: Still creating... [10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["vpc-cni"]: Creation complete after 14s [id=kafka-on-eks:vpc-cni]
module.eks_blueprints_addons.module.karpenter_sqs.aws_sqs_queue_policy.this[0]: Still creating... [20s elapsed]
module.eks.module.eks_managed_node_group["core_node_group"].aws_eks_node_group.this[0]: Still creating... [10s elapsed]
module.eks_blueprints_addons.module.karpenter_sqs.aws_sqs_queue_policy.this[0]: Creation complete after 25s [id=https://sqs.eu-west-3.amazonaws.com/453578755218/karpenter-kafka-on-eks]
module.aws_auth.kubernetes_config_map_v1_data.aws_auth[0]: Creating...
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [20s elapsed]
module.eks.module.eks_managed_node_group["core_node_group"].aws_eks_node_group.this[0]: Still creating... [20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [30s elapsed]
module.eks.module.eks_managed_node_group["core_node_group"].aws_eks_node_group.this[0]: Still creating... [30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [40s elapsed]
module.eks.module.eks_managed_node_group["core_node_group"].aws_eks_node_group.this[0]: Still creating... [40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [50s elapsed]
module.eks.module.eks_managed_node_group["core_node_group"].aws_eks_node_group.this[0]: Still creating... [50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [1m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [1m0s elapsed]
module.eks.module.eks_managed_node_group["core_node_group"].aws_eks_node_group.this[0]: Still creating... [1m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [1m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [1m10s elapsed]
module.eks.module.eks_managed_node_group["core_node_group"].aws_eks_node_group.this[0]: Still creating... [1m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [1m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [1m20s elapsed]
module.eks.module.eks_managed_node_group["core_node_group"].aws_eks_node_group.this[0]: Still creating... [1m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [1m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [1m30s elapsed]
module.eks.module.eks_managed_node_group["core_node_group"].aws_eks_node_group.this[0]: Still creating... [1m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [1m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [1m40s elapsed]
module.eks.module.eks_managed_node_group["core_node_group"].aws_eks_node_group.this[0]: Still creating... [1m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [1m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [1m50s elapsed]
module.eks.module.eks_managed_node_group["core_node_group"].aws_eks_node_group.this[0]: Creation complete after 1m47s [id=kafka-on-eks:core-node-group-20250325200824686400000029]
kubernetes_annotations.gp2_default: Creating...
kubernetes_annotations.gp2_default: Creation complete after 0s [id=apiVersion=storage.k8s.io/v1,kind=StorageClass,name=gp2]
kubernetes_storage_class.ebs_csi_encrypted_gp3_storage_class: Creating...
kubernetes_storage_class.ebs_csi_encrypted_gp3_storage_class: Creation complete after 1s [id=gp3]
module.eks_blueprints_addons.module.kube_prometheus_stack.helm_release.this[0]: Creating...
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [2m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [2m0s elapsed]
module.eks_blueprints_addons.module.kube_prometheus_stack.helm_release.this[0]: Still creating... [10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [2m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [2m10s elapsed]
module.eks_blueprints_addons.module.kube_prometheus_stack.helm_release.this[0]: Still creating... [20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [2m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [2m20s elapsed]
module.eks_blueprints_addons.module.kube_prometheus_stack.helm_release.this[0]: Creation complete after 28s [id=kube-prometheus-stack]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [2m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [2m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [2m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [2m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [2m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [2m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [3m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [3m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [3m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [3m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [3m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [3m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [3m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [3m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [3m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [3m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [3m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [3m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [4m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [4m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [4m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [4m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [4m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [4m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [4m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [4m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [4m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [4m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [4m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [4m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [5m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [5m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [5m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [5m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [5m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [5m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [5m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [5m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [5m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [5m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [5m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [5m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [6m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [6m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [6m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [6m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [6m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [6m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [6m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [6m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [6m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [6m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [6m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [6m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [7m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [7m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [7m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [7m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [7m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [7m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [7m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [7m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [7m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [7m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [7m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [7m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [8m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [8m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [8m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [8m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [8m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [8m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [8m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [8m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [8m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [8m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [8m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [8m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [9m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [9m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [9m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [9m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [9m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [9m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [9m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [9m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [9m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [9m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [9m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [9m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [10m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [10m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [10m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [10m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [10m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [10m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [10m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [10m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [10m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [10m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [10m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [10m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [11m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [11m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [11m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [11m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [11m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [11m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [11m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [11m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [11m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [11m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [11m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [11m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [12m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [12m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [12m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [12m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [12m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [12m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [12m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [12m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [12m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [12m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [12m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [12m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [13m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [13m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [13m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [13m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [13m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [13m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [13m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [13m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [13m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [13m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [13m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [13m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [14m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [14m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [14m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [14m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [14m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [14m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [14m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [14m30s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [14m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [14m40s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [14m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [14m50s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [15m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [15m0s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [15m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [15m10s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Still creating... [15m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Still creating... [15m20s elapsed]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Creation complete after 15m26s [id=kafka-on-eks:aws-ebs-csi-driver]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Creation complete after 15m26s [id=kafka-on-eks:coredns]
module.eks_data_addons.data.aws_region.current: Reading...
module.eks_data_addons.data.aws_partition.current: Reading...
module.eks_data_addons.data.aws_region.current: Read complete after 0s [id=eu-west-3]
module.eks_data_addons.data.aws_partition.current: Read complete after 0s [id=aws]
module.eks_data_addons.helm_release.karpenter_resources["default"]: Creating...
module.eks_data_addons.helm_release.strimzi_kafka_operator[0]: Creating...
module.eks_data_addons.helm_release.karpenter_resources["kafka"]: Creating...

│ Error: Kubernetes cluster unreachable: the server has asked for the client to provide credentials

│   with module.eks_data_addons.helm_release.karpenter_resources["default"],
│   on .terraform/modules/eks_data_addons/karpenter-resources.tf line 6, in resource "helm_release" "karpenter_resources":
│    6: resource "helm_release" "karpenter_resources" {



│ Error: Kubernetes cluster unreachable: the server has asked for the client to provide credentials

│   with module.eks_data_addons.helm_release.karpenter_resources["kafka"],
│   on .terraform/modules/eks_data_addons/karpenter-resources.tf line 6, in resource "helm_release" "karpenter_resources":
│    6: resource "helm_release" "karpenter_resources" {



│ Error: Kubernetes cluster unreachable: the server has asked for the client to provide credentials

│   with module.eks_data_addons.helm_release.strimzi_kafka_operator[0],
│   on .terraform/modules/eks_data_addons/strimzi-kafka-operator.tf line 1, in resource "helm_release" "strimzi_kafka_operator":
│    1: resource "helm_release" "strimzi_kafka_operator" {



│ Error: The ConfigMap "aws-auth" does not exist

│   with module.aws_auth.kubernetes_config_map_v1_data.aws_auth[0],
│   on .terraform/modules/aws_auth/modules/aws-auth/main.tf line 31, in resource "kubernetes_config_map_v1_data" "aws_auth":
│   31: resource "kubernetes_config_map_v1_data" "aws_auth" {



This happens when K8S objects are created with IaC in the same deployment !!

albert.achterkamp@hetz-root ~/gitlab/devops100net/2025-aws/data-on-eks/streaming/kafka (main)$ terraform plan -out 253C-stream-kafka.tfplan -var region=$AWS_REGION
module.eks_blueprints_addons.random_bytes.this: Refreshing state...
random_password.grafana: Refreshing state... [id=none]
aws_prometheus_workspace.amp[0]: Refreshing state... [id=ws-f3ae6f1e-a922-4c0a-beb3-5a9bd5a1ff61]
data.aws_partition.current: Reading...
module.eks_blueprints_addons.data.aws_iam_policy_document.karpenter_assume_role[0]: Reading...
aws_secretsmanager_secret.grafana: Refreshing state... [id=arn:aws:secretsmanager:eu-west-3:453578755218:secret:kafka-on-eks-grafana-6mQuH1]
data.aws_partition.current: Read complete after 0s [id=aws]
module.eks_blueprints_addons.data.aws_iam_policy_document.karpenter_assume_role[0]: Read complete after 0s [id=106987850]
data.aws_availability_zones.available: Reading...
module.eks_blueprints_addons.data.aws_region.current: Reading...
data.aws_eks_cluster_auth.this: Reading...
module.eks_blueprints_addons.data.aws_region.current: Read complete after 0s [id=eu-west-3]
data.aws_eks_cluster_auth.this: Read complete after 0s [id=kafka-on-eks]
module.eks.module.eks_managed_node_group["core_node_group"].data.aws_caller_identity.current: Reading...
module.amp_ingest_irsa[0].data.aws_partition.current[0]: Reading...
module.eks.module.eks_managed_node_group["core_node_group"].data.aws_partition.current: Reading...
module.eks.data.aws_iam_policy_document.assume_role_policy[0]: Reading...
module.eks.module.kms.data.aws_partition.current[0]: Reading...
module.amp_ingest_irsa[0].data.aws_partition.current[0]: Read complete after 0s [id=aws]
module.eks_blueprints_addons.data.aws_caller_identity.current: Reading...
module.eks.module.eks_managed_node_group["core_node_group"].data.aws_partition.current: Read complete after 0s [id=aws]
module.eks.module.kms.data.aws_partition.current[0]: Read complete after 0s [id=aws]
module.eks.data.aws_iam_policy_document.assume_role_policy[0]: Read complete after 0s [id=2764486067]
data.aws_caller_identity.current: Reading...
module.ebs_csi_driver_irsa.data.aws_region.current: Reading...
module.vpc.aws_vpc.this[0]: Refreshing state... [id=vpc-044d1e66a849070b5]
module.ebs_csi_driver_irsa.data.aws_region.current: Read complete after 0s [id=eu-west-3]
module.ebs_csi_driver_irsa.data.aws_partition.current: Reading...
module.eks_blueprints_addons.data.aws_partition.current: Reading...
module.ebs_csi_driver_irsa.data.aws_partition.current: Read complete after 0s [id=aws]
module.eks_blueprints_addons.data.aws_partition.current: Read complete after 0s [id=aws]
module.eks.module.kms.data.aws_caller_identity.current[0]: Reading...
module.amp_ingest_irsa[0].data.aws_caller_identity.current[0]: Reading...
module.eks.module.eks_managed_node_group["core_node_group"].data.aws_caller_identity.current: Read complete after 0s [id=453578755218]
module.eks.data.aws_partition.current: Reading...
module.eks.data.aws_partition.current: Read complete after 0s [id=aws]
module.ebs_csi_driver_irsa.data.aws_caller_identity.current: Reading...
module.eks_blueprints_addons.data.aws_caller_identity.current: Read complete after 0s [id=453578755218]
module.eks.module.eks_managed_node_group["core_node_group"].data.aws_iam_policy_document.assume_role_policy[0]: Reading...
module.eks.module.eks_managed_node_group["core_node_group"].data.aws_iam_policy_document.assume_role_policy[0]: Read complete after 0s [id=2560088296]
module.eks.data.aws_caller_identity.current: Reading...
data.aws_caller_identity.current: Read complete after 0s [id=453578755218]
module.eks.aws_iam_role.this[0]: Refreshing state... [id=kafka-on-eks-cluster-20250325200012836600000003]
module.amp_ingest_irsa[0].data.aws_caller_identity.current[0]: Read complete after 0s [id=453578755218]
module.eks.module.kms.data.aws_caller_identity.current[0]: Read complete after 0s [id=453578755218]
module.eks.module.eks_managed_node_group["core_node_group"].aws_iam_role.this[0]: Refreshing state... [id=core-node-group-eks-node-group-20250325200012840200000004]
module.ebs_csi_driver_irsa.data.aws_iam_policy_document.ebs_csi[0]: Reading...
module.ebs_csi_driver_irsa.data.aws_caller_identity.current: Read complete after 0s [id=453578755218]
module.eks.data.aws_caller_identity.current: Read complete after 0s [id=453578755218]
module.eks.data.aws_iam_session_context.current: Reading...
data.aws_iam_policy_document.grafana[0]: Reading...
module.eks.data.aws_iam_session_context.current: Read complete after 0s [id=arn:aws:iam::453578755218:user/iac-user-1]
aws_secretsmanager_secret_version.grafana: Refreshing state... [id=arn:aws:secretsmanager:eu-west-3:453578755218:secret:kafka-on-eks-grafana-6mQuH1|terraform-20250325200013062400000006]
module.ebs_csi_driver_irsa.data.aws_iam_policy_document.ebs_csi[0]: Read complete after 0s [id=435063099]
data.aws_iam_policy_document.grafana[0]: Read complete after 0s [id=3865496131]
module.ebs_csi_driver_irsa.aws_iam_policy.ebs_csi[0]: Refreshing state... [id=arn:aws:iam::453578755218:policy/AmazonEKS_EBS_CSI_Policy-20250325200012845800000005]
aws_iam_policy.grafana[0]: Refreshing state... [id=arn:aws:iam::453578755218:policy/kafka-on-eks-grafana-20250325200012836000000002]
data.aws_availability_zones.available: Read complete after 0s [id=eu-west-3]
data.aws_secretsmanager_secret_version.admin_password_version: Reading...
data.aws_ecrpublic_authorization_token.token: Reading...
data.aws_secretsmanager_secret_version.admin_password_version: Read complete after 0s [id=arn:aws:secretsmanager:eu-west-3:453578755218:secret:kafka-on-eks-grafana-6mQuH1|AWSCURRENT]
data.aws_ecrpublic_authorization_token.token: Read complete after 1s [id=us-east-1]
module.eks_blueprints_addons.module.karpenter.data.aws_partition.current[0]: Reading...
module.eks_blueprints_addons.module.karpenter.data.aws_caller_identity.current[0]: Reading...
module.eks_blueprints_addons.module.karpenter.data.aws_partition.current[0]: Read complete after 0s [id=aws]
module.vpc.aws_vpc_ipv4_cidr_block_association.this[0]: Refreshing state... [id=vpc-cidr-assoc-01e97be317bd768d7]
module.vpc.aws_default_security_group.this[0]: Refreshing state... [id=sg-0f262257ddf023998]
module.vpc.aws_default_route_table.default[0]: Refreshing state... [id=rtb-0ef1e0d83248674ed]
module.eks.aws_security_group.cluster[0]: Refreshing state... [id=sg-0cf42abaa5950af55]
module.vpc.aws_default_network_acl.this[0]: Refreshing state... [id=acl-07f610decbdee98db]
module.eks_blueprints_addons.module.karpenter.data.aws_caller_identity.current[0]: Read complete after 0s [id=453578755218]
module.eks.aws_security_group.node[0]: Refreshing state... [id=sg-0260828b2b9e7332d]
module.vpc.aws_subnet.private[1]: Refreshing state... [id=subnet-078fea5f462eccca2]
module.vpc.aws_subnet.private[2]: Refreshing state... [id=subnet-080a989bbc3042197]
module.vpc.aws_subnet.private[3]: Refreshing state... [id=subnet-03e720ac4459834f3]
module.vpc.aws_subnet.private[0]: Refreshing state... [id=subnet-00f0ecadfffa640fe]
module.vpc.aws_route_table.public[0]: Refreshing state... [id=rtb-09b11f536c68af9da]
module.vpc.aws_internet_gateway.this[0]: Refreshing state... [id=igw-073a22a97a4a4828c]
module.vpc.aws_subnet.public[1]: Refreshing state... [id=subnet-0db2499f3f31bbf5c]
module.vpc.aws_subnet.public[0]: Refreshing state... [id=subnet-0e71cc4c12b0a19be]
module.vpc.aws_route_table.private[0]: Refreshing state... [id=rtb-05191b3b4aa6f8c1c]
module.eks.aws_iam_role_policy_attachment.this["AmazonEKSClusterPolicy"]: Refreshing state... [id=kafka-on-eks-cluster-20250325200012836600000003-20250325200013974300000007]
module.eks.aws_iam_role_policy_attachment.this["AmazonEKSVPCResourceController"]: Refreshing state... [id=kafka-on-eks-cluster-20250325200012836600000003-20250325200014034000000009]
module.eks.module.eks_managed_node_group["core_node_group"].aws_iam_role_policy_attachment.this["AmazonEKS_CNI_Policy"]: Refreshing state... [id=core-node-group-eks-node-group-20250325200012840200000004-2025032520001404770000000a]
module.eks.module.eks_managed_node_group["core_node_group"].aws_iam_role_policy_attachment.this["AmazonEC2ContainerRegistryReadOnly"]: Refreshing state... [id=core-node-group-eks-node-group-20250325200012840200000004-20250325200014023300000008]
module.eks.module.eks_managed_node_group["core_node_group"].aws_iam_role_policy_attachment.this["AmazonEKSWorkerNodePolicy"]: Refreshing state... [id=core-node-group-eks-node-group-20250325200012840200000004-2025032520001417830000000b]
module.eks.aws_security_group_rule.node["ingress_cluster_443"]: Refreshing state... [id=sgrule-4097031589]
module.eks.aws_security_group_rule.node["ingress_self_all"]: Refreshing state... [id=sgrule-3040764290]
module.eks.aws_security_group_rule.node["ingress_cluster_kubelet"]: Refreshing state... [id=sgrule-3744730541]
module.eks.aws_security_group_rule.node["ingress_nodes_ephemeral"]: Refreshing state... [id=sgrule-3784472253]
module.eks.aws_security_group_rule.node["ingress_self_coredns_udp"]: Refreshing state... [id=sgrule-1957683534]
module.eks.aws_security_group_rule.node["ingress_cluster_8443_webhook"]: Refreshing state... [id=sgrule-2755987829]
module.eks.aws_security_group_rule.node["ingress_self_coredns_tcp"]: Refreshing state... [id=sgrule-3505406625]
module.eks.aws_security_group_rule.node["ingress_cluster_4443_webhook"]: Refreshing state... [id=sgrule-2119914178]
module.eks.aws_security_group_rule.node["ingress_cluster_6443_webhook"]: Refreshing state... [id=sgrule-3071882580]
module.eks.aws_security_group_rule.node["ingress_cluster_to_node_all_traffic"]: Refreshing state... [id=sgrule-1128474055]
module.eks.aws_security_group_rule.node["egress_all"]: Refreshing state... [id=sgrule-617896639]
module.eks.aws_security_group_rule.node["ingress_cluster_9443_webhook"]: Refreshing state... [id=sgrule-3236182718]
module.vpc.aws_eip.nat[0]: Refreshing state... [id=eipalloc-039d732babe576454]
module.vpc.aws_route.public_internet_gateway[0]: Refreshing state... [id=r-rtb-09b11f536c68af9da1080289494]
module.eks.aws_security_group_rule.cluster["ingress_nodes_443"]: Refreshing state... [id=sgrule-1564992646]
module.eks.aws_security_group_rule.cluster["ingress_nodes_ephemeral_ports_tcp"]: Refreshing state... [id=sgrule-729290184]
module.vpc.aws_route_table_association.private[1]: Refreshing state... [id=rtbassoc-07429e5a5719491d7]
module.vpc.aws_route_table_association.private[0]: Refreshing state... [id=rtbassoc-0bac95d907e642602]
module.vpc.aws_route_table_association.private[3]: Refreshing state... [id=rtbassoc-0a8c3e0855d438545]
module.vpc.aws_route_table_association.private[2]: Refreshing state... [id=rtbassoc-0f0afc88796bb4757]
module.vpc.aws_route_table_association.public[0]: Refreshing state... [id=rtbassoc-0c20e03083cb5efa4]
module.vpc.aws_route_table_association.public[1]: Refreshing state... [id=rtbassoc-009eef1a7a8d53118]
module.eks.module.kms.data.aws_iam_policy_document.this[0]: Reading...
module.eks.module.kms.data.aws_iam_policy_document.this[0]: Read complete after 0s [id=1056995596]
module.eks.module.kms.aws_kms_key.this[0]: Refreshing state... [id=a84c690e-ad88-4fdc-8e72-3c369e8ec94f]
module.vpc.aws_nat_gateway.this[0]: Refreshing state... [id=nat-0684dffa076df384a]
module.vpc.aws_route.private_nat_gateway[0]: Refreshing state... [id=r-rtb-05191b3b4aa6f8c1c1080289494]
module.eks.module.kms.aws_kms_alias.this["cluster"]: Refreshing state... [id=alias/eks/kafka-on-eks]
module.eks.aws_iam_policy.cluster_encryption[0]: Refreshing state... [id=arn:aws:iam::453578755218:policy/kafka-on-eks-cluster-ClusterEncryption2025032520003404830000000e]
module.eks.aws_eks_cluster.this[0]: Refreshing state... [id=kafka-on-eks]
module.eks.aws_eks_access_entry.this["cluster_creator"]: Refreshing state... [id=kafka-on-eks:arn:aws:iam::453578755218:user/iac-user-1]
module.eks.aws_ec2_tag.cluster_primary_security_group["karpenter.sh/discovery"]: Refreshing state... [id=sg-06158ca938b005da0,karpenter.sh/discovery]
module.eks.aws_ec2_tag.cluster_primary_security_group["GithubRepo"]: Refreshing state... [id=sg-06158ca938b005da0,GithubRepo]
module.eks.aws_ec2_tag.cluster_primary_security_group["Blueprint"]: Refreshing state... [id=sg-06158ca938b005da0,Blueprint]
module.eks.time_sleep.this[0]: Refreshing state... [id=2025-03-25T20:08:19Z]
module.eks.aws_iam_role_policy_attachment.cluster_encryption[0]: Refreshing state... [id=kafka-on-eks-cluster-20250325200012836600000003-2025032520003478000000000f]
module.eks_blueprints_addons.aws_cloudformation_stack.usage_telemetry[0]: Refreshing state... [id=arn:aws:cloudformation:eu-west-3:453578755218:stack/kafka-on-eks-27c8/d3423460-09b4-11f0-babb-0e0ce23ffb03]
module.eks.data.tls_certificate.this[0]: Reading...
module.eks_blueprints_addons.aws_cloudwatch_event_rule.karpenter["spot_interupt"]: Refreshing state... [id=Karpenter-SpotInterrupt-20250325200748986100000013]
module.eks_blueprints_addons.aws_cloudwatch_event_rule.karpenter["instance_state_change"]: Refreshing state... [id=Karpenter-InstanceStateChange-20250325200749013400000015]
module.eks_blueprints_addons.aws_cloudwatch_event_rule.karpenter["instance_rebalance"]: Refreshing state... [id=Karpenter-InstanceRebalance-20250325200749101500000017]
module.eks.data.tls_certificate.this[0]: Read complete after 0s [id=0563bd16277ca9e04f46d1ebcff7321aa45e500c]
module.eks_blueprints_addons.aws_cloudwatch_event_rule.karpenter["health_event"]: Refreshing state... [id=Karpenter-HealthEvent-20250325200749012700000014]
module.eks_blueprints_addons.aws_iam_role.karpenter[0]: Refreshing state... [id=karpenter-kafka-on-eks]
module.eks_blueprints_addons.module.metrics_server.helm_release.this[0]: Refreshing state... [id=metrics-server]
module.eks_blueprints_addons.module.karpenter_sqs.aws_sqs_queue.this[0]: Refreshing state... [id=https://sqs.eu-west-3.amazonaws.com/453578755218/karpenter-kafka-on-eks]
module.eks.aws_iam_openid_connect_provider.oidc_provider[0]: Refreshing state... [id=arn:aws:iam::453578755218:oidc-provider/oidc.eks.eu-west-3.amazonaws.com/id/BC11079A38C72B82F85C259F17093E21]
module.eks.module.eks_managed_node_group["core_node_group"].module.user_data.null_resource.validate_cluster_service_cidr: Refreshing state... [id=1333447053594588899]
module.eks.module.eks_managed_node_group["core_node_group"].aws_launch_template.this[0]: Refreshing state... [id=lt-0f2081899cfea9c82]
module.eks.aws_eks_access_policy_association.this["cluster_creator_admin"]: Refreshing state... [id=kafka-on-eks#arn:aws:iam::453578755218:user/iac-user-1#arn:aws:eks::aws:cluster-access-policy/AmazonEKSClusterAdminPolicy]
module.eks_blueprints_addons.time_sleep.this: Refreshing state... [id=2025-03-25T20:08:19Z]
module.amp_ingest_irsa[0].data.aws_iam_policy_document.assume[0]: Reading...
module.ebs_csi_driver_irsa.data.aws_iam_policy_document.this[0]: Reading...
module.amp_ingest_irsa[0].data.aws_iam_policy_document.assume[0]: Read complete after 0s [id=3412265906]
module.ebs_csi_driver_irsa.data.aws_iam_policy_document.this[0]: Read complete after 0s [id=225566436]
module.eks_blueprints_addons.module.karpenter_sqs.data.aws_iam_policy_document.this[0]: Reading...
module.eks_blueprints_addons.aws_cloudwatch_event_target.karpenter["instance_rebalance"]: Refreshing state... [id=Karpenter-InstanceRebalance-20250325200749101500000017-KarpenterQueueTarget]
module.eks_blueprints_addons.aws_cloudwatch_event_target.karpenter["instance_state_change"]: Refreshing state... [id=Karpenter-InstanceStateChange-20250325200749013400000015-KarpenterQueueTarget]
module.eks_blueprints_addons.aws_cloudwatch_event_target.karpenter["health_event"]: Refreshing state... [id=Karpenter-HealthEvent-20250325200749012700000014-KarpenterQueueTarget]
module.eks_blueprints_addons.module.karpenter_sqs.data.aws_iam_policy_document.this[0]: Read complete after 0s [id=3827299351]
module.eks_blueprints_addons.aws_cloudwatch_event_target.karpenter["spot_interupt"]: Refreshing state... [id=Karpenter-SpotInterrupt-20250325200748986100000013-KarpenterQueueTarget]
module.amp_ingest_irsa[0].aws_iam_role.this[0]: Refreshing state... [id=kafka-on-eks-amp-ingest-20250325200749997300000019]
module.ebs_csi_driver_irsa.aws_iam_role.this[0]: Refreshing state... [id=kafka-on-eks-ebs-csi-driver-20250325200749997000000018]
module.eks_blueprints_addons.module.karpenter_sqs.aws_sqs_queue_policy.this[0]: Refreshing state... [id=https://sqs.eu-west-3.amazonaws.com/453578755218/karpenter-kafka-on-eks]
module.eks.module.eks_managed_node_group["core_node_group"].aws_eks_node_group.this[0]: Refreshing state... [id=kafka-on-eks:core-node-group-20250325200824686400000029]
module.eks_blueprints_addons.module.karpenter.data.aws_iam_policy_document.assume[0]: Reading...
module.eks_blueprints_addons.module.karpenter.data.aws_iam_policy_document.assume[0]: Read complete after 0s [id=924903485]
module.eks_blueprints_addons.module.karpenter.aws_iam_role.this[0]: Refreshing state... [id=karpenter-20250325200820024400000027]
module.eks_blueprints_addons.aws_iam_role_policy_attachment.additional["AmazonSSMManagedInstanceCore"]: Refreshing state... [id=karpenter-kafka-on-eks-2025032520075049990000001a]
module.eks_blueprints_addons.aws_iam_role_policy_attachment.karpenter["AmazonEC2ContainerRegistryReadOnly"]: Refreshing state... [id=karpenter-kafka-on-eks-2025032520075092150000001e]
module.eks_blueprints_addons.aws_iam_instance_profile.karpenter[0]: Refreshing state... [id=karpenter-kafka-on-eks]
module.eks_blueprints_addons.aws_iam_role_policy_attachment.karpenter["AmazonEKS_CNI_Policy"]: Refreshing state... [id=karpenter-kafka-on-eks-2025032520075086930000001c]
module.eks_blueprints_addons.aws_iam_role_policy_attachment.karpenter["AmazonEKSWorkerNodePolicy"]: Refreshing state... [id=karpenter-kafka-on-eks-2025032520075050680000001b]
module.eks_blueprints_addons.data.aws_iam_policy_document.karpenter[0]: Reading...
module.eks_blueprints_addons.data.aws_iam_policy_document.karpenter[0]: Read complete after 0s [id=1456613870]
kubernetes_annotations.gp2_default: Refreshing state... [id=apiVersion=storage.k8s.io/v1,kind=StorageClass,name=gp2]
module.eks_blueprints_addons.module.karpenter.data.aws_iam_policy_document.this[0]: Reading...
module.eks_blueprints_addons.module.karpenter.data.aws_iam_policy_document.this[0]: Read complete after 0s [id=1456613870]
module.eks_blueprints_addons.module.karpenter.aws_iam_policy.this[0]: Refreshing state... [id=arn:aws:iam::453578755218:policy/karpenter-20250325200814697200000020]
kubernetes_storage_class.ebs_csi_encrypted_gp3_storage_class: Refreshing state... [id=gp3]
module.amp_ingest_irsa[0].aws_iam_role_policy_attachment.additional["amp_policy"]: Refreshing state... [id=kafka-on-eks-amp-ingest-20250325200749997300000019-2025032520075096750000001f]
module.ebs_csi_driver_irsa.aws_iam_role_policy_attachment.ebs_csi[0]: Refreshing state... [id=kafka-on-eks-ebs-csi-driver-20250325200749997000000018-2025032520075089990000001d]
module.eks_blueprints_addons.data.aws_eks_addon_version.this["vpc-cni"]: Reading...
module.eks_blueprints_addons.data.aws_eks_addon_version.this["aws-ebs-csi-driver"]: Reading...
module.eks_blueprints_addons.data.aws_eks_addon_version.this["coredns"]: Reading...
module.eks_blueprints_addons.data.aws_eks_addon_version.this["kube-proxy"]: Reading...
module.eks_blueprints_addons.module.kube_prometheus_stack.helm_release.this[0]: Refreshing state... [id=kube-prometheus-stack]
module.eks_blueprints_addons.module.karpenter.helm_release.this[0]: Refreshing state... [id=karpenter]
module.eks_blueprints_addons.data.aws_eks_addon_version.this["coredns"]: Read complete after 0s [id=coredns]
module.eks_blueprints_addons.data.aws_eks_addon_version.this["aws-ebs-csi-driver"]: Read complete after 0s [id=aws-ebs-csi-driver]
module.eks_blueprints_addons.data.aws_eks_addon_version.this["kube-proxy"]: Read complete after 0s [id=kube-proxy]
module.eks_blueprints_addons.module.karpenter.aws_iam_role_policy_attachment.this[0]: Refreshing state... [id=karpenter-20250325200820024400000027-20250325200820868100000028]
module.eks_blueprints_addons.data.aws_eks_addon_version.this["vpc-cni"]: Read complete after 0s [id=vpc-cni]
module.eks_blueprints_addons.aws_eks_addon.this["coredns"]: Refreshing state... [id=kafka-on-eks:coredns]
module.eks_blueprints_addons.aws_eks_addon.this["vpc-cni"]: Refreshing state... [id=kafka-on-eks:vpc-cni]
module.eks_blueprints_addons.aws_eks_addon.this["kube-proxy"]: Refreshing state... [id=kafka-on-eks:kube-proxy]
module.eks_blueprints_addons.aws_eks_addon.this["aws-ebs-csi-driver"]: Refreshing state... [id=kafka-on-eks:aws-ebs-csi-driver]

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create
  ~ update in-place
 <= read (data resources)

Terraform will perform the following actions:

  # module.aws_auth.kubernetes_config_map_v1_data.aws_auth[0] will be created
  + resource "kubernetes_config_map_v1_data" "aws_auth" {
      + data          = {
          + "mapAccounts" = jsonencode([])
          + "mapRoles"    = <<-EOT
                - "groups":
                  - "system:bootstrappers"
                  - "system:nodes"
                  "rolearn": "arn:aws:iam::453578755218:role/karpenter-kafka-on-eks"
                  "username": "system:node:{{EC2PrivateDNSName}}"
            EOT
          + "mapUsers"    = jsonencode([])
        }
      + field_manager = "Terraform"
      + force         = true
      + id            = (known after apply)

      + metadata {
          + name      = "aws-auth"
          + namespace = "kube-system"
        }
    }

  # module.eks_data_addons.data.aws_partition.current will be read during apply
  # (depends on a resource or a module with changes pending)
 <= data "aws_partition" "current" {
      + dns_suffix         = (known after apply)
      + id                 = (known after apply)
      + partition          = (known after apply)
      + reverse_dns_prefix = (known after apply)
    }

  # module.eks_data_addons.data.aws_region.current will be read during apply
  # (depends on a resource or a module with changes pending)
 <= data "aws_region" "current" {
      + description = (known after apply)
      + endpoint    = (known after apply)
      + id          = (known after apply)
      + name        = (known after apply)
    }

  # module.eks_data_addons.helm_release.karpenter_resources["default"] will be created
  + resource "helm_release" "karpenter_resources" {
      + atomic                     = false
      + chart                      = ".terraform/modules/eks_data_addons/helm-charts/karpenter-resources"
      + cleanup_on_fail            = false
      + create_namespace           = true
      + dependency_update          = false
      + disable_crd_hooks          = false
      + disable_openapi_validation = false
      + disable_webhooks           = false
      + force_update               = false
      + id                         = (known after apply)
      + lint                       = false
      + manifest                   = (known after apply)
      + max_history                = 0
      + metadata                   = (known after apply)
      + name                       = "default"
      + namespace                  = "karpenter-resources"
      + pass_credentials           = false
      + recreate_pods              = false
      + render_subchart_notes      = true
      + replace                    = false
      + reset_values               = false
      + reuse_values               = false
      + skip_crds                  = false
      + status                     = "deployed"
      + timeout                    = 300
      + values                     = [
          + <<-EOT
                name: default
                clusterName: kafka-on-eks
                ec2NodeClass:
                  karpenterRole: karpenter-kafka-on-eks
                  amiFamily: Bottlerocket
                  amiSelectorTerms:
                    - alias: "bottlerocket@latest"
                  subnetSelectorTerms:
                    tags:
                      Name: "kafka-on-eks-private*"
                  securityGroupSelectorTerms:
                    tags:
                      Name: kafka-on-eks-node
                  instanceStorePolicy: RAID0
                nodePool:
                  labels:
                    - type: karpenter
                    - NodeGroupType: apps
                  requirements:
                    - key: "kubernetes.io/arch"
                      operator: In
                      values: [ "amd64", "arm64"]
                    - key: karpenter.sh/capacity-type
                      operator: In
                      values: ["spot", "on-demand"]
                    - key: "karpenter.k8s.aws/instance-category"
                      operator: In
                      values: ["c", "m", "r"]
                  limits:
                    cpu: 1000
                  disruption:
                    consolidationPolicy: WhenEmptyOrUnderutilized
                    consolidateAfter: 30s
                    budgets:
                    - nodes: 10%
            EOT,
        ]
      + verify                     = false
      + version                    = "0.0.2"
      + wait                       = true
      + wait_for_jobs              = false

      + postrender {}
    }

  # module.eks_data_addons.helm_release.karpenter_resources["kafka"] will be created
  + resource "helm_release" "karpenter_resources" {
      + atomic                     = false
      + chart                      = ".terraform/modules/eks_data_addons/helm-charts/karpenter-resources"
      + cleanup_on_fail            = false
      + create_namespace           = true
      + dependency_update          = false
      + disable_crd_hooks          = false
      + disable_openapi_validation = false
      + disable_webhooks           = false
      + force_update               = false
      + id                         = (known after apply)
      + lint                       = false
      + manifest                   = (known after apply)
      + max_history                = 0
      + metadata                   = (known after apply)
      + name                       = "kafka"
      + namespace                  = "karpenter-resources"
      + pass_credentials           = false
      + recreate_pods              = false
      + render_subchart_notes      = true
      + replace                    = false
      + reset_values               = false
      + reuse_values               = false
      + skip_crds                  = false
      + status                     = "deployed"
      + timeout                    = 300
      + values                     = [
          + <<-EOT
                name: kafka
                clusterName: kafka-on-eks
                ec2NodeClass:
                  karpenterRole: karpenter-kafka-on-eks
                  amiFamily: Bottlerocket
                  amiSelectorTerms:
                    - alias: "bottlerocket@latest"
                  subnetSelectorTerms:
                    tags:
                      Name: "kafka-on-eks-private*"
                  securityGroupSelectorTerms:
                    tags:
                      Name: kafka-on-eks-node
                  instanceStorePolicy: RAID0
                nodePool:
                  labels:
                    - type: karpenter
                    - NodeGroupType: kafka
                  requirements:
                    - key: "kubernetes.io/arch"
                      operator: In
                      values: [ "arm64"]
                    - key: karpenter.sh/capacity-type
                      operator: In
                      values: ["on-demand"]
                    - key: "karpenter.k8s.aws/instance-category"
                      operator: In
                      values: ["c", "m", "r"]
                  limits:
                    cpu: 1000
                  disruption:
                    consolidationPolicy: WhenEmptyOrUnderutilized
                    consolidateAfter: 30s
                    budgets:
                    - nodes: 10%
            EOT,
        ]
      + verify                     = false
      + version                    = "0.0.2"
      + wait                       = true
      + wait_for_jobs              = false

      + postrender {}
    }

  # module.eks_data_addons.helm_release.strimzi_kafka_operator[0] will be created
  + resource "helm_release" "strimzi_kafka_operator" {
      + atomic                     = false
      + chart                      = "strimzi-kafka-operator"
      + cleanup_on_fail            = false
      + create_namespace           = true
      + dependency_update          = false
      + disable_crd_hooks          = false
      + disable_openapi_validation = false
      + disable_webhooks           = false
      + force_update               = false
      + id                         = (known after apply)
      + lint                       = false
      + manifest                   = (known after apply)
      + max_history                = 0
      + metadata                   = (known after apply)
      + name                       = "strimzi-operator"
      + namespace                  = "strimzi-kafka-operator"
      + pass_credentials           = false
      + recreate_pods              = false
      + render_subchart_notes      = true
      + replace                    = false
      + repository                 = "https://strimzi.io/charts/"
      + reset_values               = false
      + reuse_values               = false
      + skip_crds                  = false
      + status                     = "deployed"
      + timeout                    = 300
      + values                     = [
          + <<-EOT
                # Default values for strimzi-kafka-operator.

                # Default replicas for the cluster operator
                replicas: 1

                # If you set `watchNamespaces` to the same value as ``.Release.Namespace` (e.g. `helm ... --namespace $NAMESPACE`),
                # the chart will fail because duplicate RoleBindings will be attempted to be created in the same namespace
                watchNamespaces: []
                watchAnyNamespace: true

                defaultImageRegistry: quay.io
                defaultImageRepository: strimzi
                defaultImageTag: 0.43.0

                nodeSelector:
                  kubernetes.io/os: linux
                  NodeGroupType: core

                resources:
                  limits:
                    memory: 384Mi
                    cpu: 1000m
                  requests:
                    memory: 384Mi
                    cpu: 200m
                livenessProbe:
                  initialDelaySeconds: 10
                  periodSeconds: 30
                readinessProbe:
                  initialDelaySeconds: 10
                  periodSeconds: 30
            EOT,
        ]
      + verify                     = false
      + version                    = "0.43.0"
      + wait                       = true
      + wait_for_jobs              = false

      + postrender {}
    }

  # module.eks_blueprints_addons.module.karpenter.helm_release.this[0] will be updated in-place
  ~ resource "helm_release" "this" {
        id                         = "karpenter"
        name                       = "karpenter"
      ~ repository_password        = (sensitive value)
        # (30 unchanged attributes hidden)

        # (8 unchanged blocks hidden)
    }

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

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Saved the plan to: 253C-stream-kafka.tfplan

To perform exactly these actions, run the following command to apply:
    terraform apply "253C-stream-kafka.tfplan"
albert.achterkamp@hetz-root ~/gitlab/devops100net/2025-aws/data-on-eks/streaming/kafka (main)$ terraform apply "253C-stream-kafka.tfplan"
module.eks_blueprints_addons.module.karpenter.helm_release.this[0]: Modifying... [id=karpenter]
module.eks_blueprints_addons.module.karpenter.helm_release.this[0]: Modifications complete after 5s [id=karpenter]
module.eks_data_addons.data.aws_partition.current: Reading...
module.eks_data_addons.data.aws_region.current: Reading...
module.eks_data_addons.data.aws_partition.current: Read complete after 0s [id=aws]
module.eks_data_addons.data.aws_region.current: Read complete after 0s [id=eu-west-3]
module.aws_auth.kubernetes_config_map_v1_data.aws_auth[0]: Creating...
module.eks_data_addons.helm_release.karpenter_resources["default"]: Creating...
module.aws_auth.kubernetes_config_map_v1_data.aws_auth[0]: Creation complete after 0s [id=kube-system/aws-auth]
module.eks_data_addons.helm_release.strimzi_kafka_operator[0]: Creating...
module.eks_data_addons.helm_release.karpenter_resources["kafka"]: Creating...
module.eks_data_addons.helm_release.karpenter_resources["kafka"]: Creation complete after 0s [id=kafka]
module.eks_data_addons.helm_release.karpenter_resources["default"]: Creation complete after 1s [id=default]
module.eks_data_addons.helm_release.strimzi_kafka_operator[0]: Still creating... [10s elapsed]
module.eks_data_addons.helm_release.strimzi_kafka_operator[0]: Still creating... [20s elapsed]
module.eks_data_addons.helm_release.strimzi_kafka_operator[0]: Still creating... [30s elapsed]
module.eks_data_addons.helm_release.strimzi_kafka_operator[0]: Creation complete after 38s [id=strimzi-operator]

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

Outputs:

configure_kubectl = "aws eks --region eu-west-3 update-kubeconfig --name kafka-on-eks"
grafana_secret_name = "kafka-on-eks-grafana"
albert.achterkamp@hetz-root ~/gitlab/devops100net/2025-aws/data-on-eks/streaming/kafka (main)$


TF destroy has a few challenges ( thanks to K8S objects created via IaC in the same run as when the Infrastructure is created)

Terraform destroy


Create the objects in AWS

  515  terraform init
  516  terraform plan -out 253A-stream-kafka.tfplan
  517  terraform plan -out 253B-stream-kafka.tfplan -var region=$AWS_REGION
  518  terraform apply "253B-stream-kafka.tfplan"
  519  terraform plan -out 253C-stream-kafka.tfplan -var region=$AWS_REGION
  520  terraform apply "253C-stream-kafka.tfplan"
  528  terraform plan -out 253D-stream-kafka.tfplan -var region=$AWS_REGION
  529  terraform apply "253D-stream-kafka.tfplan"

Delete the objects from AWS

  532  terraform plan -destroy -out DES-253E-stream-kafka.tfplan
  534  terraform plan -destroy -out DES-253E-stream-kafka.tfplan -var region=$AWS_REGION
  535  terraform apply "DES-253E-stream-kafka.tfplan"
  536  terraform plan -destroy -out DES-253F-stream-kafka.tfplan -var region=$AWS_REGION
  537* terraform apply "DES-253F-stream-kafka.tfplan"
  538  terraform plan -destroy -out DES-253F-stream-kafka.tfplan
  539  terraform plan -destroy -out DES-253G-stream-kafka.tfplan -var region=$AWS_REGION
  540  terraform apply "DES-253G-stream-kafka.tfplan"
  541  terraform apply "DES-253G-stream-kafka.tfplan"
  542  terraform plan -destroy -out DES-253H-stream-kafka.tfplan -var region=$AWS_REGION
  543  terraform apply "DES-253H-stream-kafka.tfplan"
  544  terraform state rm module.eks_data_addons.helm_release.strimzi_kafka_operator[0]
  545  terraform plan -destroy -out DES-253K-stream-kafka.tfplan -var region=$AWS_REGION
  546  terraform apply "DES-253K-stream-kafka.tfplan"
  547  terraform state rm module.eks_data_addons.helm_release.karpenter_resources["default"]
  548  terraform state rm module.eks_data_addons.helm_release.karpenter_resources
  549  terraform plan -destroy -out DES-253L-stream-kafka.tfplan -var region=$AWS_REGION
  550  terraform apply "DES-253L-stream-kafka.tfplan"
  551  terraform plan -destroy -out DES-253M-stream-kafka.tfplan -var region=$AWS_REGION
  552  terraform apply "DES-253M-stream-kafka.tfplan"
  553  terraform state rm module.eks_blueprints_addons.module.karpenter.helm_release.this[0]
  554  terraform plan -destroy -out DES-253N-stream-kafka.tfplan -var region=$AWS_REGION
  555  terraform apply "DES-253N-stream-kafka.tfplan"
  556  terraform plan -destroy -out DES-253P-stream-kafka.tfplan -var region=$AWS_REGION
  557  terraform apply "DES-253P-stream-kafka.tfplan"
  558  terraform state rm module.eks_blueprints_addons.module.kube_prometheus_stack.helm_release.this[0]
  559  terraform plan -destroy -out DES-253Q-stream-kafka.tfplan -var region=$AWS_REGION
  560  terraform apply "DES-253Q-stream-kafka.tfplan"
  561  terraform plan -destroy -out DES-253A-stream-kafka.tfplan -var region=$AWS_REGION
  562  terraform apply "DES-253A-stream-kafka.tfplan"
  563  terraform state rm kubernetes_storage_class.ebs_csi_encrypted_gp3_storage_class
  564  terraform state ls
  565  terraform state list
  566  terraform state rm module.eks_blueprints_addons.module.metrics_server.helm_release.this[0]
  567  terraform plan -destroy -out DES-253B-stream-kafka.tfplan -var region=$AWS_REGION
  568  terraform apply "DES-253B-stream-kafka.tfplan"
  569  terraform state rm kubernetes_annotations.gp2_default
  570  terraform plan -destroy -out DES-253C-stream-kafka.tfplan -var region=$AWS_REGION
  571  terraform apply "DES-253C-stream-kafka.tfplan"
  572  terraform plan -destroy -out DES-253D-stream-kafka.tfplan -var region=$AWS_REGION

Just repeat this until there are NO objects left on AWS


See the objects on AWS in the chosen region (here eu-west-3)

aws-kafka-tf-20250325-ec2.png


EXAMPLES ARE FOR EDUCATIONAL PURPOSE ONLY - ALL OBJECTS / DEPLOYMENTS ARE DELETED

© 2025 Achterkamp IT Consulting