Having some trouble also getting Pulumi to destroy...
# general
s
Having some trouble also getting Pulumi to destroy my stack. Right now I'm just testing the deploy on a fresh account and happy to expunge it without much care, but it keeps getting stuck deleting an
aws:ec2:SecurityGroup
. Is there a way to tell it do delete as much as it can so there aren't > 100 things that need to be trashed manually?
Copy code
aws:ec2:SecurityGroup (...):
    error: deleting urn:pulumi:...::...::eks:index:Cluster$aws:ec2/securityGroup:SecurityGroup::...: 1 error occurred:
    	* deleting Security Group (...): DependencyViolation: resource ... has a dependent object
    	status code: 400, request id: ...
I have tried
pulumi refresh
to see if that would reconcile any issues, but the result remains the same.
Also, part of the reason I was trying to bring the stack down is because it was getting stuck going up on this resource:
Copy code
const userUploadsNotification = new aws.s3.BucketNotification(`uncle-user-uploads-notification`, {
  bucket: userUploadsBucket.id,
  queues: [
    {
      queueArn: userUploadsQueue.arn,
      events: [
        's3:ObjectCreated:*',
      ],
    },
  ],
});
Other than not using filterSuffix this is taken directly from the docs: https://www.pulumi.com/registry/packages/aws/api-docs/s3/bucketnotification/