pulumi/cmd/pulumi-test-language/testdata
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
..
l1-empty Add matrix testing (#13705) 2023-09-13 15:17:46 +00:00
l1-main/subdir Add asset/archive to conformance tests and fix engine working dir issues (#16100) 2024-05-02 11:32:54 +00:00
l1-output-array Add array conformance test (#15899) 2024-04-10 16:00:24 +00:00
l1-output-bool Add matrix testing (#13705) 2023-09-13 15:17:46 +00:00
l1-output-number Add negative number to the number output conformance test (#15866) 2024-04-06 12:31:58 +00:00
l1-output-string Test string outputs in conformance tests (#15823) 2024-03-29 14:24:29 +00:00
l1-stack-reference Add StackReference conformance test (#15935) 2024-04-16 11:13:25 +00:00
l2-destroy Allow multiple updates in a single conformance test (#15504) 2024-03-01 12:20:12 +00:00
l2-engine-update-options allow engine options to be passed in conformance tests (#15496) 2024-02-23 12:47:02 +00:00
l2-explicit-provider Add explict provider test to conformance tests (#16362) 2024-06-11 14:56:08 +00:00
l2-failed-create-continue-on-error Implement up --continue-on-error (#15740) 2024-04-22 11:12:45 +00:00
l2-large-string Add large string conformance test (#16034) 2024-04-25 08:14:34 +00:00
l2-resource-alpha Conformance test for provider pre-release versions (#16498) 2024-06-29 10:07:14 +00:00
l2-resource-asset-archive Add conformance tests for remote assets (#16467) 2024-07-03 09:03:24 +00:00
l2-resource-config Ensure internal provider state doesn't clash with user config (#16837) 2024-07-30 12:22:32 +00:00
l2-resource-primitives Add a test of sending primitive values for a resource (#16718) 2024-07-22 21:13:11 +00:00
l2-resource-simple Add matrix testing (#13705) 2023-09-13 15:17:46 +00:00
l2-target-up-with-new-dependency Make sure non-targeted resources are not updated (#15476) 2024-03-05 07:49:11 +00:00
snapshots Fix folder archives in the engine (#16119) 2024-05-06 07:26:48 +00:00
snapshots_bad Test GetDependencies and library versions in conformance testing (#15324) 2024-02-06 12:38:44 +00:00
snapshots_edit Add snapshot edit facilities to conformance testing (#15747) 2024-03-21 15:26:58 +00:00
snapshots_runtime_options/projects/l1-empty Test runtime options in conformance tests (#15288) 2024-01-29 07:32:11 +00:00