You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fields where Annotator.SetDefault is in effect but not marked as pulumi:...,optional are still treated as required in the schema.
Expected Behavior
They should be optional in the schema. Fields with non-nil default values will always be provided. Fields not annotated as optional but with provided ENV values should be marked as optional in the schema and error at runtime if no value is provided.
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:
What happened?
Fields where
Annotator.SetDefault
is in effect but not marked aspulumi:...,optional
are still treated as required in the schema.Expected Behavior
They should be optional in the schema. Fields with non-nil default values will always be provided. Fields not annotated as optional but with provided ENV values should be marked as optional in the schema and error at runtime if no value is provided.
Steps to reproduce
Remove the
resources.provider.properties.password
incredentials/consumer/Pulumi.yaml
. Then runFOO=password pulumi up
.Output of
pulumi about
NA
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: