acoustic-flag-94819
04/22/2024, 2:18 PMPulumi.dev.yaml
) with the following content:
config:
slackChannelId: "1885094632310303719"
And a Pulumi program file (Pulumi.yaml
) with the following content:
resources:
alert-policy:
type: gcp:monitoring:AlertPolicy
properties:
notificationChannels:
- "projects/12345678/notificationChannels/${slackChannelId}"
When running the pogram, the slackChannelId
parameter is being referenced as projects/12345678/notificationChannels/1.8850946323103037e+18
instead of it's string value representation projects/12345678/notificationChannels/1885094632310303719
So, it looks like it's evaluating the value for the slackChannelId
parameter as a number instead of a string.
I've already tried a lot things (e.g. specifying the type
of the parameter as string, using single quotes for the paramter value) but nothing seems to work.
Does anyone have an idea of how to fix this?