Continuous diff in aws_s3_bucket_object using kms_key_id with aws_kms_alias resource #9648
Labels
service/kms
Issues and PRs that pertain to the kms service.
service/s3
Issues and PRs that pertain to the s3 service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
Terraform Version
Terraform v0.12.5
I have following AWS resources:
Problem is that with every terraform apply I get kms_key_id regenerated as key/id:
kms_key_id = "arn:aws:kms:eu-west-1:0000:key/81c18d95-a078-4c92-a748-3d4844320224" -> "arn:aws:kms:eu-west-1:0000:alias/backend-lambda-packages-s3"
This behaviour is true when you try to upload encrypted S3 object to encrypted S3 bucket. More information on issue was discussed here:
https://discuss.hashicorp.com/t/continuous-diff-in-aws-s3-bucket-object-content/2199/9?u=vasilij-icabbi
Expected behaviour
No continues diff
The text was updated successfully, but these errors were encountered: