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

early-musician-41645

11/30/2018, 4:53 AM
I did a
get
on an S3 bucket via the suggested code and some resources from my project were created, and some failed. To get to the previous state I thought I'd do a
pulumi destroy
but I see that the bucket I got is included in the delete:
Copy code
Previewing destroy (s3-object-indexer-dev):

     Type                                Name                                              Plan
 -   pulumi:pulumi:Stack                 s3-object-indexer-s3-object-indexer-dev           delete
 -   ├─ aws:s3:BucketEventSubscription   sdp-tsm-s3-artifact-indexer-onNewObject           delete
 -   │  ├─ aws:lambda:Permission         sdp-tsm-s3-artifact-indexer-onNewObject           delete
 -   │  ├─ aws:iam:RolePolicyAttachment  sdp-tsm-s3-artifact-indexer-onNewObject-32be53a2  delete
 -   │  ├─ aws:lambda:Function           sdp-tsm-s3-artifact-indexer-onNewObject           delete
 -   │  └─ aws:iam:Role                  sdp-tsm-s3-artifact-indexer-onNewObject           delete
 -   ├─ aws:s3:Bucket                    prod-us-west-1                                    delete
 -   └─ pulumi:providers:aws             us-west-1-aws-provider                            delete
Is this expected behavior?