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

Failed to create "AWSOriginRequestPolicy" resource. Resource handler returned message: "Invalid request provided: AWS::CloudFront::OriginRequestPolicy: Another origin request policy with the same name already exists within the aws account. #88

Open
aleclarson opened this issue Oct 21, 2022 · 0 comments
Labels
bug Something isn't working saus deploy Related to the "deploy" command

Comments

@aleclarson
Copy link
Contributor

If you change the region of a @saus/cloudformation stack, it will try creating a request policy that already exists. This is because the deploy target's cache key is tied to the region, but the request policy is global. To fix this, we should give request policies (and other global CloudFormation resources) their own cache key.

@aleclarson aleclarson added bug Something isn't working saus deploy Related to the "deploy" command labels Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working saus deploy Related to the "deploy" command
Projects
None yet
Development

No branches or pull requests

1 participant