sparse-intern-71089
10/21/2021, 6:30 AMearly-keyboard-41388
10/21/2021, 6:34 AMtemplateBody
, and having references to other Pulumi resources. Because it expects an stringify JSON, and with template literals had many errors on deploy of "template_body" contains an invalid JSON
victorious-fountain-7689
10/21/2021, 7:55 AMpulumi.interpolate
? It takes a template string as input which can have Output<string>
referenced inside it, and returns a Output<string>
early-keyboard-41388
10/21/2021, 8:43 AM"template_body" contains an invalid JSON: invalid character 's' looking for beginning of value
templateBody: pulumi.interpolate`{
"Resources": {
"SecurityGroupId": {
"Type": "AWS::SSM::Parameter",
"Properties": {
"Name": "security-group-id-${stage}",
"Type": "String",
"Value": ${servicesSecurityGroup.id}
}
},
(...)
}
early-keyboard-41388
10/21/2021, 8:44 AMValue
field as an Output<string>
. Any particular way Pulumi is expecting?early-keyboard-41388
10/21/2021, 8:54 AMvictorious-fountain-7689
10/21/2021, 8:58 AM