mirror of https://github.com/pulumi/pulumi.git
bc744d2ae5
Currently when a provider is not known when trying to call construct, we error out. A provider not being known can however legitimately happen during a preview, for example when setting up an eks cluster, and then using that kubeconfig to set up a kubernetes provider. Users can currently work around that by using `--skip-preview`, and only going through the actual up, where the provider is known. This is however not a great user experience. Return a specific error from the provider Construct call, which we can then use in the resource monitor to fake constructing a resource with all unknown outputs. This way the preview can still succeed, but any dependencies will also end up being unknown. Fixes https://github.com/pulumi/pulumi/issues/16331 |
||
---|---|---|
.. | ||
testdata | ||
alias_test.go | ||
analyzer_test.go | ||
continue_on_error_test.go | ||
delete_before_replace_test.go | ||
golang_sdk_test.go | ||
import_test.go | ||
parameterized_test.go | ||
pending_delete_test.go | ||
pending_replace_test.go | ||
provider_test.go | ||
pulumi_test.go | ||
refresh_legacy_diff_test.go | ||
refresh_test.go | ||
resource_reference_test.go | ||
retain_on_delete_test.go | ||
source_query_test.go | ||
step_generator_test.go | ||
target_test.go | ||
test_plan.go | ||
transformation_test.go | ||
update_plan_test.go |