future-refrigerator-88869
08/24/2022, 9:43 PMvpcConfig: {
subnetIds: lambdaVpcConfig.apply(lvc => lvc.lambdaVpcPrivateSubnetIds),
securityGroupIds: [
lambdaVpcConfig.apply(lvc => lvc.lambdaSecurityGroupId),
],
},
Which lambdaVpcConfig
is an output from a stack ref.
When I run pulumi up
, the changes appear in the diff but when it actually applies, nothing changes in regards to the vpc of the lambda (it's still on no vpc). Any idea what might be wrong ?little-cartoon-10569
08/24/2022, 9:56 PMapply
in these circumstances. Pulumi makes properties of outputs available in these cases.
vpcConfig: {
subnetIds: lambdaVpcConfig.lambdaVpcPrivateSubnetIds,
securityGroupIds: lambdaVpcConfig.lambdaSecurityGroupIds
},
future-refrigerator-88869
08/24/2022, 10:08 PMoutput
properties without apply
. Let me give it a try.
On another note, the lambdaSecurityGroupIds
is actually just one id, I misspelled it and was too lazy to change it 😞 I guess i`ll do that now 😄 Gonna edit the example just in case someone else has a take on the problemlittle-cartoon-10569
08/24/2022, 10:26 PM