When creating some Azure resources such as MetricAlert (https://www.pulumi.com/docs/reference/pkg/azure-native/insights/metricalert/) I have come across the the InputMap type.
As you can see from the MetricAlert documentation, in some scenarios you need to pass in references to other resources in the Tags property. Intellisense shows me Tags is an InputMap which accepts Output<> for the values... but unfortunately the way this works is that the reference needs to be passed in as the key - the value is just the string "Resource".
Is there any way I can pass in my Output into these tags, it is becoming a blocker for getting these alerts into our stack.
Tags =
{
{ "hidden-link:/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/components/webtest-name-example", "Resource" },
{ "hidden-link:/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/webtests/component-example", "Resource" },
},