incalculable-diamond-5088
04/13/2019, 4:01 PMexport interface ComponentResourceOptions extends ResourceOptions {
providers?: Record<string, ProviderResource>;
}
However, the Subnet is a Resource
, not a Component
and thus expects:
export interface CustomResourceOptions extends ResourceOptions {
provider?: ProviderResource;
}
Which has only a single provider.
I created a PR https://github.com/pulumi/pulumi-awsx/pull/176, but I see it doesn’t advance.
Please suggest how to achieve custom providers support across all pulumi moduleswhite-balloon-205
incalculable-diamond-5088
04/13/2019, 4:14 PMincalculable-diamond-5088
04/13/2019, 4:16 PMconst provider1 = ...
const provider2 = ...
I want to create 2 awsx.ec2.Vpcs - one for each provider. How should I crate them?white-balloon-205
incalculable-diamond-5088
04/13/2019, 4:30 PMincalculable-diamond-5088
04/13/2019, 4:31 PMincalculable-diamond-5088
04/13/2019, 4:32 PMlemon-spoon-91807
04/13/2019, 5:29 PMincalculable-diamond-5088
04/13/2019, 5:29 PMincalculable-diamond-5088
04/13/2019, 5:30 PMlemon-spoon-91807
04/13/2019, 5:32 PMlemon-spoon-91807
04/13/2019, 6:48 PM