Terraform: VPCIdNotSpecified

From wikieduonline
Jump to navigation Jump to search


aws_instance.myinfo: Creating...
╷
│ Error: Error launching source instance: VPCIdNotSpecified: No default VPC for this user. GroupName is only 
supported for EC2-Classic and default VPC.
│ 	status code: 400, request id: 760acc5b-bbe5-4a22-98d4-33a3ed190409
│
│   with aws_instance.MyInstanceName,
│   on main.tf line 22, in resource "aws_instance" "MyInstanceName":
│   22: resource "aws_instance" "MyInstanceName" {
╵


│ Error: Error launching source instance: VPCIdNotSpecified: No default VPC for this user. GroupName is only supported for EC2-Classic and default VPC.
│ 	status code: 400, request id: 1dfaab37-725c-4d52-ba9c-7a59c63f388b
│
│   with aws_instance.myUbuntuMicroInstance,
│   on main.tf line 22, in resource "aws_instance" "myUbuntuMicroInstance":
│   22:  resource "aws_instance" "myUbuntuMicroInstance" {


Related[edit]

See also[edit]

Advertising: