Closed VeerMuchandi closed 6 years ago
Hi,
At this point this is the expected behavior, see https://github.com/awslabs/aws-servicebroker-s3/blob/master/roles/provision-s3-apb-openshift/files/S3Bucket.yml#L103
The reasoning behind this is that CloudFormation will not gracefully remove buckets that contain data, it is considered the safest approach to leave the bucket behind in case it contains data (like logs) that are required beyond the life of the container.
In the future we may implement deletion of buckets and their contents for dev plans and only retain the buckets on prod plans (possibly even make it optional).
This has been addressed in the latest build, see https://github.com/awslabs/aws-servicebroker/ for more details
Provisioning works ok. When you deprovision, the job completes. But the S3 bucket is not being removed from AWS.