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

famous-salesmen-28835

03/18/2020, 8:09 AM
I got one more error while calling plum destroy
Copy code
-  aws:s3:Bucket mytestbucketkmltest2 deleting  
 -  aws:s3:Bucket mytestbucketkmltest2 deleting error: deleting urn:pulumi:pulumi-test::pulumi-test::aws:s3/bucket:Bucket::mytestbucketkmltest2: error deleting S3 Bucket (mytestbucketkmltest2): BucketNotEmpty: The bucket you tried to delete is not empty 
 -  aws:s3:Bucket mytestbucketkmltest2 **deleting failed** error: deleting urn:pulumi:pulumi-test::pulumi-test::aws:s3/bucket:Bucket::mytestbucketkmltest2: error deleting S3 Bucket (mytestbucketkmltest2): BucketNotEmpty: The bucket you tried to delete is not empty 
    pulumi:pulumi:Stack pulumi-test-pulumi-test  error: update failed 
    pulumi:pulumi:Stack pulumi-test-pulumi-test **failed** 1 error
So Any one any idea to delete forcefully from pulumi
f

faint-table-42725

03/18/2020, 3:53 PM
When you create the bucket, there’s an option called
forceDestroy
https://www.pulumi.com/docs/reference/pkg/aws/s3/bucket/#create-a-bucket-resource