mirror of https://github.com/pulumi/pulumi.git
214e04a4e4
When the `disable-default-providers` settings is set, we want to make sure to not create any new default providers implicitly. However programmatic default providers are explicitly set, but they are using the same `defaultProviders` implementation. When we have already set a default provider through the programmatic default provider mechanism, we don't want to error out here. It's safe to just move the loading of the default provider above the denyCreation check, as we won't set an implicit default provider if this setting is set, so we'll always hit the denyCreation code. |
||
---|---|---|
.. | ||
asset | ||
authhelpers | ||
backend | ||
cmd/pulumi | ||
codegen | ||
display | ||
engine | ||
graph | ||
importer | ||
operations | ||
resource | ||
secrets | ||
testing/integration | ||
util | ||
version | ||
workspace | ||
README.md | ||
go.mod | ||
go.sum |
README.md
pulumi/pkg
While pulumi/sdk maintains strict backwards compatibility guarantees, code under pkg/ is handled more informally: while breaking changes are still discouraged they may happen when they make sense.