mirror of https://github.com/pulumi/pulumi.git
1949b65072
We used to always keep resource references when marshaling the results of `pulumi:pulumi:getResource`, but this regressed in #9323 to only keep resource if request's `acceptResources` flag was set. Unfortunately, that flag was not being set when calling `pulumi:pulumi:getResource` in the Go, Node.js, and Python SDKs (although, it was being set for .NET). Two fixes: 1. Update the monitor to go back to always keeping resources when `pulumi:pulumi:getResource` is being invoked. This way, older SDKs that are not setting `acceptResources` will go back to the original behavior. 2. Update the SDKs to always set `acceptResources`, so that these newer versions of the SDKs will work with older engines that are checking `acceptResources`. (2) will help us with EKS 1.0. We'll be able to update EKS to use a version of `@pulumi/pulumi` with the fix to set the `acceptResources` flag. |
||
---|---|---|
.. | ||
closure | ||
asyncIterableUtil.ts | ||
config.ts | ||
debuggable.ts | ||
index.ts | ||
invoke.ts | ||
mocks.ts | ||
resource.ts | ||
rpc.ts | ||
settings.ts | ||
stack.ts | ||
state.ts |