Skip to content

Commit a595b05

Browse files
committed
fix(s3-deployment): intermittent CreateInvalidation and/or wait errors
- Waiting for cache invalidation is redundant as it doesn't tell you if a cache invalidation fails anyway. Waiting is removed. - Modified retry strategy of cloudfront client to help with intermittent CreateInvalidation errors. Fixes #15891
1 parent 0591c44 commit a595b05

File tree

152 files changed

+11259
-3759
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+11259
-3759
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.cross-account-pipeline-cfn-action.js.snapshot/CdkPipelineCfnActionStack.assets.json

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.cross-account-pipeline-cfn-action.js.snapshot/CdkPipelineCfnActionStack.template.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@
367367
"Properties": {
368368
"Code": {
369369
"S3Bucket": "cdk-hnb659fds-assets-12345678-test-region",
370-
"S3Key": "9a1fcb4a7ecba81ad70e9d3fb241f6794497da945dae5f25924e4dd002b65f2d.zip"
370+
"S3Key": "c35318c5e7b973bebdfd416f7cf32a8fc5a41eb80c668e8087db4c34ecf180c3.zip"
371371
},
372372
"Environment": {
373373
"Variables": {
@@ -436,7 +436,7 @@
436436
{
437437
"Ref": "AWS::Partition"
438438
},
439-
":iam::234567890123:role/cdkpipelinecfnactionstackdeployactionrole57e12a8ea0f3e8176666"
439+
":iam::931886962895:role/cdkpipelinecfnactionstackdeployactionrole1b622b1764d91654e275"
440440
]
441441
]
442442
},
@@ -448,7 +448,7 @@
448448
{
449449
"Ref": "AWS::Partition"
450450
},
451-
":iam::234567890123:role/cdkpipelinecfnactionstackoydeploymentrole5e69c3b8bfbbc622ec4e"
451+
":iam::931886962895:role/cdkpipelinecfnactionstackoydeploymentrole9592b42313370a033dac"
452452
]
453453
]
454454
}
@@ -556,7 +556,7 @@
556556
{
557557
"Ref": "AWS::Partition"
558558
},
559-
":iam::234567890123:role/cdkpipelinecfnactionstackdeployactionrole57e12a8ea0f3e8176666"
559+
":iam::931886962895:role/cdkpipelinecfnactionstackdeployactionrole1b622b1764d91654e275"
560560
]
561561
]
562562
},
@@ -568,7 +568,7 @@
568568
{
569569
"Ref": "AWS::Partition"
570570
},
571-
":iam::234567890123:role/cdkpipelinecfnactionstackoydeploymentrole5e69c3b8bfbbc622ec4e"
571+
":iam::931886962895:role/cdkpipelinecfnactionstackoydeploymentrole9592b42313370a033dac"
572572
]
573573
]
574574
}
@@ -721,7 +721,7 @@
721721
{
722722
"Ref": "AWS::Partition"
723723
},
724-
":iam::234567890123:role/cdkpipelinecfnactionstackdeployactionrole57e12a8ea0f3e8176666"
724+
":iam::931886962895:role/cdkpipelinecfnactionstackdeployactionrole1b622b1764d91654e275"
725725
]
726726
]
727727
}
@@ -862,7 +862,7 @@
862862
{
863863
"Ref": "AWS::Partition"
864864
},
865-
":iam::234567890123:role/cdkpipelinecfnactionstackoydeploymentrole5e69c3b8bfbbc622ec4e"
865+
":iam::931886962895:role/cdkpipelinecfnactionstackoydeploymentrole9592b42313370a033dac"
866866
]
867867
]
868868
},
@@ -883,7 +883,7 @@
883883
{
884884
"Ref": "AWS::Partition"
885885
},
886-
":iam::234567890123:role/cdkpipelinecfnactionstackdeployactionrole57e12a8ea0f3e8176666"
886+
":iam::931886962895:role/cdkpipelinecfnactionstackdeployactionrole1b622b1764d91654e275"
887887
]
888888
]
889889
},

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.cross-account-pipeline-cfn-action.js.snapshot/asset.b8ab94266984268614c3fb2824a1c3a55395746c48b28c003b08bc1d08688f3e.zip

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 7 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.cross-account-pipeline-cfn-action.js.snapshot/asset.c49d356cac773d491c5f7ac148995a1181498a8e289429f8612a7f7e3814f535.zip

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.cross-account-pipeline-cfn-action.js.snapshot/cdk.out

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.cross-account-pipeline-cfn-action.js.snapshot/cross-account-support-stack-234567890123.assets.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.cross-account-pipeline-cfn-action.js.snapshot/cross-account-support-stack-931886962895.assets.json

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
],
4343
"Version": "2012-10-17"
4444
},
45-
"RoleName": "cdkpipelinecfnactionstackdeployactionrole57e12a8ea0f3e8176666"
45+
"RoleName": "cdkpipelinecfnactionstackdeployactionrole1b622b1764d91654e275"
4646
}
4747
},
4848
"CdkPipelineCfnActionStackCrossAccountCloudformationPipelineBE629958CFNCFNDeployActionRoleDefaultPolicyE8D1F190": {
@@ -121,7 +121,7 @@
121121
{
122122
"Ref": "AWS::Partition"
123123
},
124-
":cloudformation:test-region:234567890123:stack/aws-cdk-codepipeline-cross-account-deploy-stack/*"
124+
":cloudformation:test-region:931886962895:stack/aws-cdk-codepipeline-cross-account-deploy-stack/*"
125125
]
126126
]
127127
}
@@ -152,7 +152,7 @@
152152
],
153153
"Version": "2012-10-17"
154154
},
155-
"RoleName": "cdkpipelinecfnactionstackoydeploymentrole5e69c3b8bfbbc622ec4e"
155+
"RoleName": "cdkpipelinecfnactionstackoydeploymentrole9592b42313370a033dac"
156156
}
157157
},
158158
"CdkPipelineCfnActionStackCrossAccountCloudformationPipelineBE629958CFNCFNDeployDeploymentRoleDefaultPolicy8A68EFF8": {

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.cross-account-pipeline-cfn-action.js.snapshot/integ.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)