awslabs / aws-servicebroker

AWS Service Broker
Apache License 2.0
468 stars 131 forks source link

Enabling Service Instance Sharing #250

Open thehandsomezebra opened 3 years ago

thehandsomezebra commented 3 years ago

Overview

Brief description of what this PR does, and why it is needed (use case)? See https://docs.cloudfoundry.org/services/enable-sharing.html

CloudFoundry allows for services to be shared across orgs and spaces -- however this requires that the service broker is explicitly enabling service instance sharing by setting a flag shareable: true. At this time, the AWS ServiceBroker does not pass this variable. This PR will change that.

This has backwards compatibility since it is technically without the value, it is defaulted as false. User must include in the template shareable: true and the service broker via CloudFoundry handles the rest.

Related Issues

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): Fixes #249

Testing

How did you validate the changes in this PR? If there are unit tests included describe what they test

Notes

https://docs.cloudfoundry.org/services/enable-sharing.html

Testing Instructions

How to test this PR Start after checking out this branch (bulleted)

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.