Search Suggest

Bài đăng

Error: Error launching source instance: VPCIdNotSpecified: No default VPC for this user. GroupName is only supported for EC2-Classic and default VPC.

 Terraform Error : 

Error: Error launching source instance: VPCIdNotSpecified: No default VPC for this user. GroupName is only supported for EC2-Classic and default VPC.

Sol:  You can provide subnet_id to fix this issue, that will associate VPC with subnet_id

resource "aws_instance" "goanalytics-test" {

  ami           = "ami-087c17d1fe0178315"

  instance_type = "t2.micro"

  subnet_id     = "subnet-006c710787ff0263b"

}


Đăng nhận xét