Propagate additionalSecretOutputs
opt to Read in NodeJS (#4307)
This commit is contained in:
parent
ab659aa0c1
commit
d363be9de0
|
@ -2,6 +2,9 @@ CHANGELOG
|
|||
=========
|
||||
|
||||
## HEAD (unreleased)
|
||||
- Propagate `additionalSecretOutputs` opt to Read in NodeJS.
|
||||
[#4307](https://github.com/pulumi/pulumi/pull/4307)
|
||||
|
||||
- Fix handling of `nil` values in Outputs in Go.
|
||||
[#4268](https://github.com/pulumi/pulumi/pull/4268)
|
||||
|
||||
|
|
|
@ -117,6 +117,7 @@ export function readResource(res: Resource, t: string, name: string, props: Inpu
|
|||
req.setDependenciesList(Array.from(resop.allDirectDependencyURNs));
|
||||
req.setVersion(opts.version || "");
|
||||
req.setAcceptsecrets(true);
|
||||
req.setAdditionalsecretoutputsList((<any>opts).additionalSecretOutputs || []);
|
||||
|
||||
// Now run the operation, serializing the invocation if necessary.
|
||||
const opLabel = `monitor.readResource(${label})`;
|
||||
|
|
Loading…
Reference in a new issue