sparse-intern-71089
06/24/2021, 1:27 PMlittle-cartoon-10569
06/24/2021, 9:46 PMaws.iam.InstanceProfile
. It's an inline object with fields arn and name.little-cartoon-10569
06/24/2021, 9:47 PMconst outboundProxyLaunchTemplate = new aws.ec2.LaunchTemplate(
`${appName}-launch-template`,
{
namePrefix: `${appName}-`,
iamInstanceProfile: {
arn: outboundProxyIamInstanceProfile.arn,
name: outboundProxyIamInstanceProfile.name
},
...
},
{ dependsOn: outboundProxyIamInstanceProfile },
);
millions-furniture-75402
06/25/2021, 9:14 PMmillions-furniture-75402
06/25/2021, 9:29 PM* Error creating Auto Scaling Group: ValidationError: You must use a valid fully-formed launch template. Security group sg-024a9e83f1b59c229 and subnet subnet-90c3aaba belong to different networks.
status code: 400, request id: f2e7928a-d319-4c5e-ade7-45a4ab5ab974
I’m confused about how to assign the correct subnet ids per instance.little-cartoon-10569
06/27/2021, 8:23 PMmillions-furniture-75402
06/28/2021, 1:01 PMlittle-cartoon-10569
06/28/2021, 8:29 PMmillions-furniture-75402
06/28/2021, 8:34 PMlittle-cartoon-10569
06/28/2021, 8:37 PMmillions-furniture-75402
06/28/2021, 8:43 PMfromExistingId()
, so it could also be related to that.millions-furniture-75402
06/29/2021, 12:32 PMlittle-cartoon-10569
06/29/2021, 9:33 PM