serverless-client-s3
serverless-client-s3 copied to clipboard
NoSuchWebsiteConfiguration after sls client deploy
Sometimes when I deploy a static website I get a 404 NoSuchWebsiteConfiguration when browsing the site. When I look at the configuration of the bucket it has The "Do not enable website hosting" checkbox ticked. So I think that the "_this.aws.request('S3', 'putBucketWebsite', params, _this.evt.options.stage, _this.evt.options.region)" fails intermittently. I dont get any error in the terminal.
+1
+1 I think deployment should check current bucket settings for modification and modify bucket settings only if there're some changes.