sparse-intern-71089
06/03/2021, 6:05 AMlittle-cartoon-10569
06/03/2021, 6:33 AMelegant-pager-5412
06/03/2021, 6:56 AMstackA
and trying to use them in stackB
by using the stackReference
feature. Why does it fail? The resources exists (as I imported them)elegant-pager-5412
06/03/2021, 7:19 AMlittle-cartoon-10569
06/03/2021, 7:20 AMlittle-cartoon-10569
06/03/2021, 7:20 AMelegant-pager-5412
06/03/2021, 7:20 AMlittle-cartoon-10569
06/03/2021, 7:21 AMlittle-cartoon-10569
06/03/2021, 7:21 AMlittle-cartoon-10569
06/03/2021, 7:22 AMlittle-cartoon-10569
06/03/2021, 7:23 AMlambda.vpcConfig[0].vpcId
, which isn't correct. Is that in your code?elegant-pager-5412
06/03/2021, 7:28 AMelegant-pager-5412
06/03/2021, 7:29 AMvpcConfig = {
vpcId: 'vpc-id-of-vpc',
subnetIds: ['subnet-0x9173283495'],
securityGroupIds: ['sg-jdfg93457345'],
};
elegant-pager-5412
06/03/2021, 7:29 AMvpcId
does not give me this error anymorelittle-cartoon-10569
06/03/2021, 7:30 AMelegant-pager-5412
06/03/2021, 7:30 AMlittle-cartoon-10569
06/03/2021, 7:43 AMlittle-cartoon-10569
06/03/2021, 7:44 AMlittle-cartoon-10569
06/03/2021, 7:46 AMlittle-cartoon-10569
06/03/2021, 7:46 AMelegant-pager-5412
06/03/2021, 7:50 AMelegant-pager-5412
06/03/2021, 7:50 AMelegant-pager-5412
06/03/2021, 7:53 AM{
/**
* List of security group IDs associated with the Lambda function.
*/
securityGroupIds: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of subnet IDs associated with the Lambda function.
*/
subnetIds: pulumi.Input<pulumi.Input<string>[]>;
vpcId?: pulumi.Input<string>;
}
little-cartoon-10569
06/03/2021, 8:06 AMfunc.vpcConfig[0] = vpcConfig
? Because that's the only thing I can think of. If that's not it, then you'll need someone smarter than me...\elegant-pager-5412
06/03/2021, 8:14 AM