Skip to content

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

@aleclarson

Description

@aleclarson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsaus deployRelated to the "deploy" command

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions