CrossAccountZoneDelegationRecord: IAM policy propogation delay causes intermittent failures #29391
Labels
@aws-cdk/aws-iam
Related to AWS Identity and Access Management
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
effort/medium
Medium work item – several days of effort
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
The
CrossAccountZoneDelegationRecord
intermittently fails to create a record with the following error:CrossAccountZoneDelegationRecord
approximately 30% of the time.Expected Behavior
The
CrossAccountZoneDelegationRecord
successfully creates a Cross Account Zone Delegation record when given a delegation role with accurate trust policies.Current Behavior
The
CrossAccountZoneDelegationRecord
intermittently fails, likely due to IAM policy propagation delay.Reproduction Steps
Deploy a new
CrossAccountZoneDelegationRecord
several times in a non-us AWS region.Possible Solution
In a similar issue using custom resources (#18237), retries was one of the suggested fixes, which seems appropriate here as well.
Additional Information/Context
No response
CDK CLI Version
2.122.0
Framework Version
No response
Node.js Version
18
OS
MacOs
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: