pulumi/pkg
bors[bot] 0314c77f83
Merge #12605
12605: Pass PULUMI_CONFIG through to provider plugins r=Frassle a=Frassle

<!--- 
Thanks so much for your contribution! If this is your first time contributing, please ensure that you have read the [CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md) documentation.
-->

# Description

<!--- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. -->

Some users wish to experiment with merging stack provider config with explicit provider config. It's not clear this is something we want to fully support/expose yet, so this change forwards the stack config to provider binaries via the PULUMI_CONFIG environment variable. 

Users wishing to experiment with this in their providers can grab and JSON decode that variable and do their merging as wanted, without this affecting others users generally.

At some point we may remove this in favor of a better system that makes itself evident from these experiments.

## Checklist

<!--- Please provide details if the checkbox below is to be left unchecked. -->
- [x] I have added tests that prove my fix is effective or that my feature works 
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [ ] I have run `make changelog` and committed the `changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the Pulumi Service,
then the service should honor older versions of the CLI where this change would not exist.
You must then bump the API version in /pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi Service API version
  <!-- `@Pulumi` employees: If yes, you must submit corresponding changes in the service repo. -->


Co-authored-by: Fraser Waters <fraser@pulumi.com>
2023-04-05 15:49:23 +00:00
..
authhelpers make linter happy 2023-02-08 10:30:10 -08:00
backend Merge #12496 2023-04-01 04:22:52 +00:00
cmd/pulumi Merge #12605 2023-04-05 15:49:23 +00:00
codegen Merge #12459 2023-04-05 14:24:56 +00:00
engine Pass PULUMI_CONFIG through to provider plugins 2023-04-05 10:17:18 +01:00
graph all: Assert => Assertf 2023-03-03 14:37:43 -08:00
importer all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
operations all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
resource Revert PR moving deletedWith inheritance logic to the engine as `get` resources and MLCs are incompatible. 2023-03-30 10:18:27 -07:00
secrets all: Assert => Assertf 2023-03-03 14:37:43 -08:00
testing/integration chore(all): Log to iotest.LogWriter from tests 2023-03-07 11:27:47 -08:00
util all: Assert => Assertf 2023-03-03 14:37:43 -08:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
README.md export codegen tests for internal use (#8928) 2022-02-07 12:10:04 +01:00
go.mod build(deps): bump google.golang.org/protobuf in /pkg 2023-04-04 13:35:01 +00:00
go.sum build(deps): bump google.golang.org/protobuf in /pkg 2023-04-04 13:35:01 +00:00

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.