mirror of https://github.com/pulumi/pulumi.git
c9c30f0939
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> |
||
---|---|---|
.. | ||
config | ||
README.md | ||
index.ts | ||
package.json | ||
provider.ts | ||
resource.ts | ||
tsconfig.json | ||
utilities.ts |