-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If no subnet strategy specified, you get the "outputs are not strings" error message #1372
Labels
Comments
pierskarsenbarg
added
kind/bug
Some behavior is incorrect or out of spec
needs-triage
Needs attention from the triage team
labels
Sep 4, 2024
t0yv0
pushed a commit
that referenced
this issue
Sep 4, 2024
We can't use JSON.stringify on an output directly, we need to do that inside an apply. Fix #1372
This comment has been minimized.
This comment has been minimized.
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:
|
mikhailshilkov
added a commit
that referenced
this issue
Oct 15, 2024
Another fix for #1372 while #1374 only partially succeeded. The previous attempt was successful in resolving the top-level output but child outputs were still unresolved. I was a bit surprised that was the case... outputs are hard! The new attempt relies on `pulumi.jsonStringify` which is made exactly for this purpose. This drops JSON formatting but hopefully that not too bad for a small JSON. Example of the result: ``` 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":20,"type":"Public"}] ```
This issue has been addressed in PR #1395 and shipped in release v2.17.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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).
The text was updated successfully, but these errors were encountered: