https://pulumi.com logo
#typescript
Title
# typescript
g

green-daybreak-98726

07/30/2021, 10:34 PM
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

steep-sunset-89396

08/02/2021, 1:32 AM
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.
2 Views