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
When working on #2440 testing, an issue surfaced that limits the provider author's ability to override Pulumi names for nested configuration properties under Plugin Framework, something that works expected under SDKv2 framework.
It appears that these name overrides are not respected when generating the schema based on an pschema.SingleNestedAttribute.
Under SDKv2 a similar test needs to nest the name overrides under Elem, reflecting the fact that it utilizes a MaxItems=1 encoding with TF objects that have paths like obj.0.nested_strlist_config that is the object is always wrapped by a single-element array in TF. However in this PF example, there is no array wrapping, and paths are direct as in obj.nested_strlist_config. So the example probably should work as-is.
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:
…providers (#2716)
Adds tests for Plugin Framework to cover the treatment of passing
secrets or ensuring sensitive data in provider configuration. This
completes the requirements for #2440 testing.
Fixes#2440
Two issues were discovered in this work that result in skipped tests
until we can fix them:
- #2715
- #2714
What happened?
When working on #2440 testing, an issue surfaced that limits the provider author's ability to override Pulumi names for nested configuration properties under Plugin Framework, something that works expected under SDKv2 framework.
Example
Currently causing these test failures:
TestAccProviderConfigureSecretsPluginFramework/explicit-provider/first-class-secret/nested-strlist
TestAccProviderConfigureSecretsPluginFramework/explicit-provider/schema-secret/nested-strlist
It appears that these name overrides are not respected when generating the schema based on an pschema.SingleNestedAttribute.
Under SDKv2 a similar test needs to nest the name overrides under Elem, reflecting the fact that it utilizes a MaxItems=1 encoding with TF objects that have paths like obj.0.nested_strlist_config that is the object is always wrapped by a single-element array in TF. However in this PF example, there is no array wrapping, and paths are direct as in obj.nested_strlist_config. So the example probably should work as-is.
Output of
pulumi about
https://github.com/pulumi/pulumi-terraform-bridge/releases/tag/v3.97.1 is affected.
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: