Is there a reason s3 buckets that are moderately l...
# typescript
g
Is there a reason s3 buckets that are moderately large take exponentially longer to delete than using the console? With some of our log s3 buckets it causes a timeout every time we run it and end up having to manually delete.
s
Are you also storing objects in this bucket using pulumi? Are all the objects controlled by pulumi? And for your s3 bucket, have you set
forceDestroy
to
true
as a way to entirely delete the bucket and its content? https://www.pulumi.com/docs/reference/pkg/aws/s3/bucket/#inputs
As a suggestion, using Pulumi to control your s3 bucket is good. If you have thousands of objects, you may want to consider an alternative way (other than pulumi) to push your objects into your bucket. Consider linking your pulumi app with the native SDKs provided by AWS to achieve this.