Skip to content

Could not deploy multiple times under the same account  #40

Description

@0dd

Could not deploy multiple times after the first deployment

Context and behavior

After the first deployment, the CDK created one CloudFront Policy which will lead to a failure when coming with the following deployments.

By tracing the CloudTrail, it prompts the error was raised from CDK "CloudFormation" when "CreateOriginRequestPolicy" as "OriginRequestPlicyAlreadyExists"

A similar problem existed when customers using CloudFormation reported on Github.
aws-cloudformation/cloudformation-coverage-roadmap#571 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions