full-dress-10026
03/20/2019, 10:40 PM"@pulumi/pulumi": "0.16.17",
"@pulumi/aws": "0.16.10",
"@pulumi/awsx": "0.16.5"
to
{
"@pulumi/pulumi": "0.17.2",
"@pulumi/aws": "0.17.1",
"@pulumi/awsx": "0.17.0"
}
and ran pulumi up
. Received this exception:
error: aws:ec2/securityGroupRule:SecurityGroupRule resource 'nginx-lb-listener-external-0-ingress' has a problem: "description" cannot be longer than 255 characters: "Externally available at port Calling [toString] on an [Output<T>] is not supported.\n\nTo get the value of an Output<T> as an Output<string> consider either:\n1: o.apply(v => `prefix${v}suffix`)\n2: pulumi.interpolate `prefix${v}suffix`\n\nSee <https://pulumi.io/help/outputs> for more details.\nThis function may throw in a future version of @pulumi/pulumi."
error: aws:ec2/securityGroupRule:SecurityGroupRule resource 'nginx-lb-listener-external-0-ingress' has a problem: "description" doesn't comply with restrictions ("^[A-Za-z0-9 \\.\\_\\-\\:\\/\\(\\)\\#\\,\\@\\[\\]\\+\\=\\;\\{\\}\\!\\$\\*]*$"): "Externally available at port Calling [toString] on an [Output<T>] is not supported.\n\nTo get the value of an Output<T> as an Output<string> consider either:\n1: o.apply(v => `prefix${v}suffix`)\n2: pulumi.interpolate `prefix${v}suffix`\n\nSee <https://pulumi.io/help/outputs> for more details.\nThis function may throw in a future version of @pulumi/pulumi."
white-balloon-205
Output
inside the description of the SecurityGroupRule
which would previously have been injecting [object Object]
- but now injects a warning to try to catch problems like this earlier.
I expect you just need an apply
or pulumi.interpolate
in here. Can you share the snippet of your code that sets the description
?full-dress-10026
03/20/2019, 10:48 PMdescription
anywhere. This may come from awsx?awsx.ec2.SecurityGroup
.white-balloon-205
full-dress-10026
03/20/2019, 10:50 PMwhite-balloon-205
lemon-spoon-91807
03/20/2019, 11:37 PM