Difference between revisions of "Terraform: VPCIdNotSpecified"
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
* <code>[[subnet_id]]</code> | * <code>[[subnet_id]]</code> | ||
* <code>[[terraform import aws default vpc.default]]</code> | * <code>[[terraform import aws default vpc.default]]</code> | ||
+ | * <code>[[Terraform module: vpc]]</code> | ||
== See also == | == See also == |
Revision as of 09:18, 21 December 2022
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
See also
- VPC, Amazon Virtual Private Cloud, VPC endpoint, VPC flow logging, VPC peering, VPC Scenarios
terraform apply
[-auto-approve
|-refresh-only, -destroy | --help ]
, Terraform examples,Still creating...
, Terraform apply examples with errors- Terraform, OpenTofu, Terrakube.org, Installation, Terraform AWS, Terraform GCP, Terraform commands, Terraform Cloud, Terraform Enterprise (TFE), HCL, HIL, meta-arguments, providers, modules, resource, provisioners, data sources, backends: remote backends, examples, configuration files, state files, variables, types, Terraform Registry, conditionals:
depends_on
, functions, Blocks, dynamic blocks, errors, Terragrunt, Terraformer, Terratest, Terraform certifications, Terraform map type, Terraform Associate, Terraform: list type,TF_VAR_, TF_LOG
, Terraform provider versioning, Terraform Style Conventions, Required version, Terraform plugin, Terraform Named Values, tags, Changelog,tfsec, tflint
, Operators, Expressions:for, splat
, Debugging, Namespaces, Terraform Landing Zones, CDKTF, Atmos
Advertising: