pulumi/sdk/nodejs/cmd/pulumi-language-nodejs/testdata/tsc/sdks/config-9.0.0
Fraser Waters c9c30f0939
Ensure internal provider state doesn't clash with user config (#16837)
Provider internal state is now separated from provider user config. This
allows providers to use a config key like "pluginDownloadURL" which
previously would have conflicted with the engines internal state. It
also allows the engine to add new internal state fields without concern
for clashing with existing or future provider config keys.

"version" is maintained as a root level key because providers already
look at this field, and we use it in conformance tests. However it's
been fixed to be the package version, not the plugin version. That's the
same for normal providers, but for a parameterised provider it will be
the version of the parameterised package, not the base plugin version.
As part of this I've made schema more strict that a provider can't
define its own version field. This would have clashed with the use of
version to set the plugin version to download, and is better set by
users by using the version resource option.

Fixes https://github.com/pulumi/pulumi/issues/16757.

---------

Co-authored-by: Will Jones <will@sacharissa.co.uk>
2024-07-30 12:22:32 +00:00
..
config Ensure internal provider state doesn't clash with user config (#16837) 2024-07-30 12:22:32 +00:00
README.md Ensure internal provider state doesn't clash with user config (#16837) 2024-07-30 12:22:32 +00:00
index.ts Ensure internal provider state doesn't clash with user config (#16837) 2024-07-30 12:22:32 +00:00
package.json Ensure internal provider state doesn't clash with user config (#16837) 2024-07-30 12:22:32 +00:00
provider.ts Ensure internal provider state doesn't clash with user config (#16837) 2024-07-30 12:22:32 +00:00
resource.ts Ensure internal provider state doesn't clash with user config (#16837) 2024-07-30 12:22:32 +00:00
tsconfig.json Ensure internal provider state doesn't clash with user config (#16837) 2024-07-30 12:22:32 +00:00
utilities.ts Ensure internal provider state doesn't clash with user config (#16837) 2024-07-30 12:22:32 +00:00

README.md