elegant-pager-5412
06/03/2021, 11:26 AMComputed attributes cannot be set, but a value was set for "vpc_config.0.vpc_id".. Examine values at 'Function.VpcConfig.VpcId'
My configuration is very simple (doesn’t work even if I hardcode string IDS for everything):
vpcConfig: {
vpcId: vpc.id,
subnetIds: vpc.publicSubnetIds,
securityGroupIds: ['sg-a123123123'],
}
billowy-army-68599
06/03/2021, 8:02 PMvpcId
or `subnetIds`:
there's a full example here:
https://github.com/jaxxstorm/pulumi-examples/blob/main/typescript/aws/lambda-vpc/index.ts#L62