https://pulumi.com logo
#general
Title
# general
a

adamant-dress-73325

03/28/2019, 7:31 PM
Hi, I am following this example https://github.com/pulumi/examples/tree/master/aws-ts-static-website and I cannot destroy the resources:
Copy code
Do you want to perform this destroy? yes
Destroying (dev):

     Type                            Name               Status                  Info
     pulumi:pulumi:Stack             web-prototype-dev
 -   └─ aws:cloudfront:Distribution  cdn                **deleting failed**     1 error

Diagnostics:
  aws:cloudfront:Distribution (cdn):
    error: Plan apply failed: deleting urn:pulumi:dev::web-prototype::aws:cloudfront/distribution:Distribution::cdn: error updating CloudFront Distribution (E21SKVWK0QSNMV): PreconditionFailed: The request failed because it didn't meet the preconditions in one or more request-header fields.
    	status code: 412, request id: c243fee0-518f-11e9-a71c-99b0d5e1e416