`opts.providers` is currently only read by the `Resource` constructor if either `opts.parent` or `getRootResource` is not `undefined`. In scnearios where exactly one copy of `@pulumi/pulumi` is loaded, one of these conditions will always be true. In SxS scenarios, however, it is possible for neither of these conditions to be true, and the created resource will end up without a `providers` map. These changes fix that by always copying the contents of `opts.providers` if it is defined. |
||
---|---|---|
.. | ||
go | ||
nodejs | ||
proto | ||
python | ||
README.md |