Can Brooklyn DSL be nested?
I want to retrieve a secret from vault using the external provider and the
following syntax works:
$brooklyn:external("vault", "name-of-secret")
However, the secret I want to retrieve is variable and depends on the way the
blueprint is deployed. I, therefore, want to be able to pull the
"name-of-secret" from some other config. For example:
$brooklyn:external("vault", $brooklyn:entity("blah").config("name-of-secret"))
However that syntax does not work. Any guidance would be appreciated.
Thanks
Murdo