Skip to content

Commit

Permalink
Auto delete s3 objects
Browse files Browse the repository at this point in the history
  • Loading branch information
Melle committed Feb 5, 2024
1 parent 8383d31 commit 869af8b
Show file tree
Hide file tree
Showing 3 changed files with 346 additions and 140 deletions.
1 change: 1 addition & 0 deletions lib/mwaa-airflow-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export class MwaaAirflowStack extends Stack {

createBucket(): s3.Bucket {
return new s3.Bucket(this, "Bucket", {
autoDeleteObjects: true,
removalPolicy: RemovalPolicy.DESTROY,
});
}
Expand Down
Loading

0 comments on commit 869af8b

Please sign in to comment.