Eventual consistency error with ECR GetRepositoryPolicy
/ SetRepositoryPolicy
(?)
#26622
Labels
bug
Addresses a defect in current functionality.
eventual-consistency
Pertains to eventual consistency issues.
service/ecr
Issues and PRs that pertain to the ecr service.
service/iam
Issues and PRs that pertain to the iam service.
service/sts
Issues and PRs that pertain to the sts service.
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v1.2.8
on linux_amd64
Affected Resource(s)
aws_ecr_repository_policy
aws_iam_role_policy
Terraform Configuration Files
Debug Output
https://gist.github.com/blakepettersson/58e77cf4e3018cb34e544d9f65f7e67a
Expected Behavior
This should work consistently on the first
terraform apply
.Actual Behavior
This usually takes another
terraform apply
for this to work.Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: