We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing AWS tags leads to policy replacement. I wonder if that is a bug.
PS: I've noticed the same behavior with the EFS AWS Terraform module as well.
Module version [Required]: 4.2.1
Terraform version: v1.8.3
module "s3_bucket_logging" { source = "terra.tmx.cloud/tmx-cloud/module-s3-bucket/aws" version = "4.2.1" bucket = var.s3_bucket_logging_name acl = "log-delivery-write" control_object_ownership = true object_ownership = "ObjectWriter" attach_lb_log_delivery_policy = true attach_elb_log_delivery_policy = true attach_access_log_delivery_policy = true access_log_delivery_policy_source_buckets = [ "arn:aws:s3:::${var.s3_bucket_logging_name}", "arn:aws:s3:::${var.s3_bucket_miscellaneous_name}", ] versioning = { enabled = true status = true mfa_delete = false } logging = { target_bucket = var.s3_bucket_logging_name target_prefix = "access-logs/buckets/logging/" } server_side_encryption_configuration = { rule = { apply_server_side_encryption_by_default = { sse_algorithm = "AES256" } } } tags = var.required_aws_tags }
Steps to reproduce the behavior:
var.required_aws_tags
I expected to only have tag changes in the plan.
I see that the policy argument of module.s3_bucket_logging.aws_s3_bucket_policy.this[0] is being replaced.
policy
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Changing AWS tags leads to policy replacement. I wonder if that is a bug.
PS: I've noticed the same behavior with the EFS AWS Terraform module as well.
Versions
Module version [Required]: 4.2.1
Terraform version: v1.8.3
Reproduction Code [Required]
Steps to reproduce the behavior:
var.required_aws_tags
Expected behavior
I expected to only have tag changes in the plan.
Actual behavior
I see that the
policy
argument of module.s3_bucket_logging.aws_s3_bucket_policy.this[0] is being replaced.Terminal Output Screenshot(s)
The text was updated successfully, but these errors were encountered: