docs
docs copied to clipboard
pulumi keeps deleting the existing s3 bucket eventhough the name has not been changed
File: content/docs/iac/get-started/aws/deploy-changes.md
// Create an AWS resource (S3 Bucket)
var bucket = new Bucket("my-bucket", new()
{
Website = new BucketWebsiteArgs
{
IndexDocument = "index.html",
},
});
If you run pulumi up after creating the above object, pulumi tries to delete the above bucket and then creates it again.