aws_kms_replica_key fails to create with a provided policy #22947
Labels
bug
Addresses a defect in current functionality.
service/iam
Issues and PRs that pertain to the iam service.
service/kms
Issues and PRs that pertain to the kms service.
service/sts
Issues and PRs that pertain to the sts service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform 1.1.5
AWS Provider 3.74.0
Windows 10 64 bit
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Expected Behavior
terraform apply
successfully executed.Actual Behavior
terraform apply
times out after 5 minutes.Steps to Reproduce
terraform apply
Important Factoids
The key is created correctly with the correct policy, it seems like the provider is just thinking that policies are different.
I can successfully create the replica key without policy.
I can even update the policy and the update works correctly.
The issue is only when creating from scratch with policy.
References
aws_iam_policy_document
when applied to S3 buckets, iam roles, kms keys, etc #11801The text was updated successfully, but these errors were encountered: