mirror of https://github.com/pulumi/pulumi.git
ed96861543
In #18039 we added the ability to generate code for imports involving parameterized providers. In doing so, we cleaned up a long-standing TODO around checking the versions of loaded providers against those in the state being imported to. While this stricter check brought with it a higher degree of correctness, it broke a number of workflows, such as attaching an existing provider instance (which may have a different version) to an import operation. This happens in some provider CI workflows and tests, where we want to test an older state file's compatibility with the new (to-be-released) provider version. In such cases, the state reports vN and the load returns vN+0.0.1 or the like. This change restores the old behaviour by introducing explicit errors to identify when mismatches occur and handling them specially in the `import` case. #18271 tracks the introduction of something a bit better, where maybe we allow semver-compatible versions only rather than allowing everything as we once (and once again) do. Fixes #18270 |
||
---|---|---|
.. | ||
README.md | ||
bind.go | ||
docs_parser.go | ||
docs_renderer.go | ||
docs_test.go | ||
loader.go | ||
loader_cached.go | ||
loader_cached_test.go | ||
loader_client.go | ||
loader_js.go | ||
loader_mmap.go | ||
loader_schema_test.go | ||
loader_server.go | ||
loader_test.go | ||
mock_pulumi_schema.go | ||
package_reference.go | ||
pulumi.json | ||
schema.go | ||
schema_test.go |
README.md
(schema)=
Pulumi Schema
This package defines Pulumi Schema, a language-neutral specification for cloud resource models. Pulumi Schema is the interface definition language for all Pulumi Packages, and is used as the input to SDK code generation for each supported Pulumi language.