Terraform: How VPC to launch is decided for aws_instance resource

Created on 5 Jun 2016  ยท  2Comments  ยท  Source: hashicorp/terraform

How VPC to launch is decided for aws_instance resource. Docs shows no option to specify VPC

https://www.terraform.io/docs/providers/aws/r/instance.html

provideaws question

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 VPC

Hopefully this helps

Paul

All 2 comments

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.

Was this page helpful?
0 / 5 - 0 ratings