Commit 7c697ec
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 #158911 parent 4eda24b commit 7c697ec
File tree
1 file changed
+7
-5
lines changed- packages/@aws-cdk/custom-resource-handlers/lib/aws-s3-deployment/bucket-deployment-handler
1 file changed
+7
-5
lines changedLines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
| |||
233 | 239 | | |
234 | 240 | | |
235 | 241 | | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | 242 | | |
241 | 243 | | |
242 | 244 | | |
| |||
0 commit comments