pulumi/pkg
Luke Hoban 2067e27ee6
Avoid configuring providers twice during preview (#4004)
In the very common case where provider configuration does not change, during preview we were calling `Configure` on the cloud provider twice - once for the "old" configuration, and once for the "new" configuration.

This is not necessary, and we can just avoid using the new provider when configuration has not changed, since we will have configured the old provider very early so if we can use that we should.

Note that this technically doesn't prevent the second call to `Configure` from being made, but it prevents us from ever waiting on it.  We may want to go further and avoid even calling `Configure` on the provider in this case.

Part of #3671.
2020-03-01 14:41:46 -08:00
..
apitype Add disabled to enforcement level type (#3969) 2020-02-24 16:20:23 -08:00
backend fix permalink (#3970) 2020-02-26 09:45:39 -08:00
codegen Address PR feedback from #3980. 2020-02-27 16:24:13 -08:00
diag Do not prefix failed operation errors. 2019-11-19 17:17:17 -08:00
encoding
engine Improve PP naming for local PPs (#3839) 2020-01-30 13:31:41 -08:00
graph Improve stack graph. (#3431) 2019-10-31 17:39:15 -07:00
npm Fix for windows policy-pack install (#3837) 2020-01-29 16:02:44 -08:00
operations Revert "Fix getting logs in tests for Lambdas" (#3923) 2020-02-13 22:38:12 -08:00
resource Avoid configuring providers twice during preview (#4004) 2020-03-01 14:41:46 -08:00
secrets Cache account information. (#3340) 2019-10-15 15:37:57 -07:00
testing Regression tests for StackReference in the Python SDK (#3913) 2020-02-17 10:40:46 -08:00
tokens Fix comment about QName regex (#3121) 2019-08-20 14:43:48 -07:00
tools
util Check if TRAVIS_PULL_REQUEST is false before setting the ci vars' PRNumber property (#3869) 2020-02-06 12:25:06 -08:00
version
workspace fix permalink (#3970) 2020-02-26 09:45:39 -08:00