Closed pierskarsenbarg closed 1 month ago
This issue has been addressed in PR #1374 and shipped in release v2.15.0.
I'm seeing this issue in release 2.16.1
This wasn't fixed in v2.15.0 either
If it helps, I'm now seeing this as a warning:
warning: The default subnetStrategy will change from "Legacy" to "Auto" in the next major version. Please specify the subnetStrategy explicitly. The current subnet layout can be specified via "Auto" as:
[
{
"cidrMask": "Calling [toJSON] on an [Output<T>] is not supported.\n\nTo get the value of an Output as a JSON value or JSON string consider either:\n 1: o.apply(v => v.toJSON())\n 2: o.apply(v => JSON.stringify(v))\n\nSee https://www.pulumi.com/docs/concepts/inputs-outputs for more details.\nThis function may throw in a future version of @pulumi/pulumi.",
"type": "Calling [toJSON] on an [Output<T>] is not supported.\n\nTo get the value of an Output as a JSON value or JSON string consider either:\n 1: o.apply(v => v.toJSON())\n 2: o.apply(v => JSON.stringify(v))\n\nSee https://www.pulumi.com/docs/concepts/inputs-outputs for more details.\nThis function may throw in a future version of @pulumi/pulumi."
}
]
This issue has been addressed in PR #1395 and shipped in release v2.17.0.
What happened?
I didn't add a
subnet_strategy
input to my VPC and got the following warning message:which suggests that we're trying to write out an output as a string.
Example
(note the subnet strategy line is commented out)
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).