Closed davidfowl closed 2 weeks ago
Going to be interesting to consider what happens if there's a reference to something like .targetPort
, which we would need to compute eagerly instead of waiting until deploy
.
I think that's the only value in our reference syntax that we support today that we may not know at bicep generation time.
Going to be interesting to consider what happens if there's a reference to something like .targetPort, which we would need to compute eagerly instead of waiting until deploy.
Fail in this case.
We also fail if you reference a bicep secret output as a parameter so there's prior art
Follow up from https://github.com/Azure/azure-dev/pull/3820
The main scenario here is a webhooks. External services that need to call your compute (e.g. Azure event grid, azure web pubsub etc)
Results in
Notice the go template syntax in the bicep. This should just use the bicep value instead of the go template (when in this context).
Instead we want: