Closed rayjanwilson closed 3 years ago
the pipeline makes a bucket to upload everything into. that bucket gets orphaned when the stack is deleted.
https://bobbyhadz.com/blog/cdk-delete-s3-bucket
const s3Bucket = new s3.Bucket(this, 'my-bucket', { removalPolicy: cdk.RemovalPolicy.DESTROY, autoDeleteObjects: true, });
with that we can pass a bucket to the pipeline to use
the pipeline makes a bucket to upload everything into. that bucket gets orphaned when the stack is deleted.
https://bobbyhadz.com/blog/cdk-delete-s3-bucket
with that we can pass a bucket to the pipeline to use