Skip to content

rayjanwilson/cdk-pipelines-cust-bucket-example

Repository files navigation

Cust S3 Bucket for cdk.Pipelines

At current the default policy is set to Retain these buckets which can lead to customers having a number of Orphaned S3 buckets across their accounts. This can be resolved by creating a custom construct to be used within your pipeline declaration which has a retention policy set to Delete.

The Retain was set up as Default based on customer need, they were having issues with the deletion policies see here

An example of how to integrate into cdk.pipelines is provided

Notes about the example

  • the github token has been stored in Secrets Manager
  • any s3 buckets created by this example will now be automatically deleted

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published