-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[cloudfront]: migrating cloudfrontWebDistribution to Distribution #32373
Labels
@aws-cdk/aws-cloudfront
Related to Amazon CloudFront
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p3
Comments
santiagovj22
added
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
labels
Dec 3, 2024
santiagovj22
changed the title
(cloudfront): (migrating cloudfrontWebDistribution to Distribution)
[cloudfront]: migrating cloudfrontWebDistribution to Distribution
Dec 3, 2024
If you need to migrate from
|
pahud
added
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
p3
effort/small
Small work item – less than a day of effort
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Dec 9, 2024
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
github-actions
bot
added
the
closing-soon
This issue will automatically close in 4 days unless further comments are made.
label
Dec 11, 2024
github-actions
bot
removed
closing-soon
This issue will automatically close in 4 days unless further comments are made.
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
labels
Dec 12, 2024
Comments on closed issues and PRs are hard for our team to see. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
@aws-cdk/aws-cloudfront
Related to Amazon CloudFront
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p3
Describe the bug
i am migrating from cloudfrontWebDistribution to Distribution.
before:
after:
then got this error:
This is because the deployment tried to create a new CloudFront distribution instead of reusing the old one.
after possibles workarounds none of them work:
neither
due to:
what should i do in this case? i have many cloudfrontDistributions already deployed using aws_cloudfront.cloudfrontWebDistribution but i have to migrate to aws_cloudfront.Distribution to use some features such as responseHeaderPolicy
i need to keep the old logicalId and reuse to the distribution
Regression Issue
Last Known Working CDK Version
Expected Behavior
deploy without issues
Current Behavior
stopped by this error
Reproduction Steps
migrating from cloudfrontWebDistribution to Distribution having deployed a distribution and deploy a new one with the same CNAME
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.148.1 (build 283525d)
Framework Version
No response
Node.js Version
v20.15.0
OS
windows
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: