Skip to content

Commit

Permalink
disable delete of wg and bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov-aws committed Nov 11, 2023
1 parent 6ab2a63 commit 13add0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cfn-templates/cid-cfn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ Resources:
def on_delete():
# Delete bucket (CF cannot delete if they are non-empty)
# and delete WorkGroup (CF cannot do that)
return (True, 'on_delete is disabled. you will need to delete bucket and workgroup on your own')
s3 = boto3.resource('s3')
log = []
Expand Down

0 comments on commit 13add0a

Please sign in to comment.