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?No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by