diff --git a/cloudformation/lib/s3.js b/cloudformation/lib/s3.js index 439f0c02a..c081d5114 100644 --- a/cloudformation/lib/s3.js +++ b/cloudformation/lib/s3.js @@ -15,14 +15,6 @@ export default { WebsiteConfiguration: { IndexDocument: 'index.html', ErrorDocument: 'index.html', - RoutingRules: [{ - RoutingRuleCondition: { - HttpErrorCodeReturnedEquals: 404 - }, - RedirectRule: { - ReplaceKeyPrefixWith: cf.join([cf.ref('GitSha'), '/']) - } - }] }, CorsConfiguration: { CorsRules: [{