How VPC to launch is decided for aws_instance resource. Docs shows no option to specify VPC
Hi @shanmugakarna
To launch an AWS instance in a VPC, you need to specify the specific subnet_id
. A subnet is specific to a VPC
Hopefully this helps
Paul
I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Most helpful comment
Hi @shanmugakarna
To launch an AWS instance in a VPC, you need to specify the specific
subnet_id
. A subnet is specific to a VPCHopefully this helps
Paul