Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 static site deploys do not remove orphaned files #209

Open
farski opened this issue Mar 30, 2018 · 0 comments
Open

S3 static site deploys do not remove orphaned files #209

farski opened this issue Mar 30, 2018 · 0 comments
Labels

Comments

@farski
Copy link
Member

farski commented Mar 30, 2018

During S3 static site deploys using the custom CloudFormation resource, files are only ever uploaded, never deleted. If a previous deploy included a file that no longer exist in the deployable archive, it will remain in S3 after the deploy. s3 sync has a -delete flag that handles this, so looking at how that is implemented could provide good leads on how to correct this using boto.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant