https://pulumi.com logo
#general
Title
# general
h

helpful-van-82564

03/17/2021, 1:51 PM
Hi, is there a way to enforce pulumi to fall over if a given provider is invalid? I had accidentlly commented out setting a provider, so it was None when used for some kubernetes stuff, and pulumi then decided to use whatever $KUBECONFIG was set to since provider was None. Can I set this somewhere, if the provider doesnt work, dont fall back to $KUBECONFIG ?
g

gentle-diamond-70147

03/17/2021, 5:28 PM
For the default provider you can set the config to an invalid value - e.g. https://github.com/pulumi/pulumi/issues/3383#issuecomment-567124447