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

aws-s3-deployment: Add ability to invalidate multiple CloudFront Distributions #26565

Closed
2 tasks
stephen-christie-ss opened this issue Jul 28, 2023 · 3 comments
Closed
2 tasks
Labels
@aws-cdk/aws-s3-deployment duplicate This issue is a duplicate. feature-request A feature should be added or improved.

Comments

@stephen-christie-ss
Copy link

Describe the feature

Currently, there is support to invalidate the cache on a single CloudFront Distribution. It is possible to use the same bucket for multiple distributions, but currently no way to invalidate the files across all of those distributions.

Use Case

Example: Deploying to multiple domains, each with their own Certificates (can require multiple distributions serving the same content).

Proposed Solution

Accept a List of Distributions as input to the Construct.

Other Information

A workaround may be to create additional s3_deployments, each with no sources.

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

1.204.0

Environment details (OS name and version, etc.)

Debian 12

@stephen-christie-ss stephen-christie-ss added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Jul 28, 2023
@khushail
Copy link
Contributor

Looks like its similar to this one - #22309

@khushail khushail added duplicate This issue is a duplicate. and removed needs-triage This issue or PR still needs to be triaged. labels Jul 28, 2023
@stephen-christie-ss
Copy link
Author

Agreed. Thank you!

@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-s3-deployment duplicate This issue is a duplicate. feature-request A feature should be added or improved.
Projects
None yet
Development

No branches or pull requests

2 participants