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
Several times I've accidentally tagged a field as something like pulumi:"optional,secret" instead of pulumi:"optional" provider:"secret". This generates SDKs well enough, but once you try populating this it will panic:
panic: fatal: An assertion has failed: Unrecognized tagpart on field Foo.Token: secret
We should catch this an either error, or automatically apply the provider tag.
More generally, the pulumi/provider distinction feels like an abstraction is leaking. It would be most user-friendly to only have to worry about pulumi:"..." tags.
The text was updated successfully, but these errors were encountered:
Several times I've accidentally tagged a field as something like
pulumi:"optional,secret"
instead ofpulumi:"optional" provider:"secret"
. This generates SDKs well enough, but once you try populating this it will panic:We should catch this an either error, or automatically apply the provider tag.
More generally, the pulumi/provider distinction feels like an abstraction is leaking. It would be most user-friendly to only have to worry about
pulumi:"..."
tags.The text was updated successfully, but these errors were encountered: