You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd deploy/terraform/ecs/default/
terraform init
terraform plan
But I get an error. Actually, each time I run terraform plan I get one of two error messages. Sometimes I get this:
$ terraform plan
╷
│ Error: Unsupported argument
│
│ on main.tf line 23, in module "dependencies":
│ 23: availability_zones = module.vpc.inner.azs
│
│ An argument named "availability_zones" is not expected here.
╵
Other times I get this:
$ terraform plan
╷
│ Error: Unsupported argument
│
│ on ../../lib/ecs/carts.tf line 8, in module "carts_service":
│ 8: vpc_cidr = var.vpc_cidr
│
│ An argument named "vpc_cidr" is not expected here.
╵
╷
│ Error: Unsupported argument
│
│ on ../../lib/ecs/carts.tf line 10, in module "carts_service":
│ 10: public_subnet_ids = var.public_subnet_ids
│
│ An argument named "public_subnet_ids" is not expected here.
╵
Environment info:
$ git rev-parse HEAD
adc57547da91f96e98fa5ab8df484474e72d09dc
$ terraform version
Terraform v1.10.4
on darwin_arm64
+ provider registry.terraform.io/hashicorp/aws v5.84.0
+ provider registry.terraform.io/hashicorp/random v3.6.3
$ uname -a
Darwin Simons-Laptop.local 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 19:02:41 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6030 arm64
Hey @simonwhitaker I noticed this myself while I was fixing up a bunch of stuff. I have a fix in a branch but its with a bunch of other changes right now.
I authenticated with AWS, then did:
But I get an error. Actually, each time I run
terraform plan
I get one of two error messages. Sometimes I get this:Other times I get this:
Environment info:
My AWS config looks like this:
(Flipping
region
fromeu-west-1
tous-east-1
has no effect, I get the same errors.)The text was updated successfully, but these errors were encountered: