Closed jameshochadel closed 2 months ago
Tagging with org and space information is currently not possible in the CSB. The CSB uses HIL to interpolate variables into service definition files. HIL does not support indexing into maps with heterogeneous value types, and the request.context
map, which contains org and space information, contains both string and map types. I've opened a discussion in the CF Slack about possible workarounds.
OSBAPI Cloud Foundry Context object docs: https://github.com/openservicebrokerapi/servicebroker/blob/master/profile.md#cloud-foundry-context-object Discussion in CF Slack: https://cloudfoundry.slack.com/archives/C0164KKEZGX/p1724703876380109
Started tagging all resources with default_tags
on each provider. Now blocked until I hear back from the CSB dev team about the HIL issue.
Submitted PR to fix the issue: https://github.com/cloudfoundry/cloud-service-broker/pull/1087
Workaround works. Last tags added to broker; closing.
Other brokers tag resources using the https://github.com/cloud-gov/go-broker-tags repository. This broker should tag resources in the same way — e.g. CF org name, org GUID, space name, space GUID...
sesv2
resources so SES identity can be tagged