Why do "Block Public Access settings for this account" settings reset on deployment of serverless stacks?

0

I can't see anything in my SLS stacks that reset this account level setting that can be found at https://eu-west-1.console.aws.amazon.com/s3/settings?region=eu-west-1

I can manually change these in the console to "disabled" and buckets are configured correctly.

Redeploying changes these settings back to "enabled"

1 Answer
2

Hi fungus1487,

Disabling bucket versioning could be really helpful for your deployment process.

  1. Spotting Mistakes Easily: When versioning is off, it means there's only one version of each file. So, if something accidentally changes during deployment, you can quickly figure out what went wrong because there's only one version to look at.

  2. Avoiding Confusion: With versioning off, you won't have to worry about different versions of files causing confusion or conflicts during deployment. It keeps things simpler and less likely to cause problems.

  3. Checking Deployment Scripts: Make sure to look at your deployment scripts or configurations. They shouldn't be overriding the setting back to "enabled" during redeployment. If they are, you'll need to adjust your deployment process to respect the setting you've manually chosen.

answered 23 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions