Closed vadim-kubasov closed 5 months ago
This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days
This issue was automatically closed because of stale in 10 days
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
When I try to run
terraform apply
where TF code wasn't changed. Terraform run is failingOpen issue: https://github.com/hashicorp/terraform-provider-aws/issues/24914
Versions
Module version [Required]: 2.1.0
Terraform version: 1.7.4
Provider version(s): 5.37.0
Reproduction Code [Required]
Steps to reproduce the behavior:
Expected behavior
Terraform has to run and successfully finished with message
No infrastructure changes
Actual behavior
Terraform tries to update security settings where security settings weren't changed
Terminal Output Screenshot(s)
Error: updating MSK Cluster (arn:aws:kafka:us-west-2:***********:cluster/msk-kafka-cluster/*******) security: operation error Kafka: UpdateSecurity, https response error StatusCode: 400, RequestID: ************, BadRequestException: The request does not include any updates to the security setting of the cluster. Verify the request, then try again. with module.msk_kafka_cluster.aws_msk_cluster.this[0] on .terraform/modules/msk_kafka_cluster/main.tf line 5, in resource "aws_msk_cluster" "this":
Additional context
If you set the
client_authentication[0].tls
in module like below. Terraform will complete successfully