This message was deleted.
# aws
s
This message was deleted.
g
Is this with the automation API (I'm assuming you're working from something like https://github.com/komalali/self-service-platyform based on your description)?
r
Thank you for responding, Correct. virtual_machines.py. - while creating ec2 instance subnet are not mentioned, but my use case i want to created in specified VPC, not in default VPC.
g
Gotcha. That example uses an inline program (in the
create_pulumi_program()
function), so you'd add the subnet as you would in any Pulumi program. For an example of what that would look like in a standard Pulumi program, try https://github.com/pulumi/examples/blob/master/aws-py-eks/vpc.py
r
Thank you
👍 1