alloc / alloc/saus

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.

Open
#88 0 comments 0 reactions 0 assignees View on GitHub
bug saus deploy
Dominant language
TypeScript
Stars
38
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.