Hello.
I’m following the GCP Quick Start guide and I have the following error when running terraform plan
command:
Error: Unsupported argument
│
│ on main.tf line 50, in module "iglu_lb":
│ 50: name = "${var.prefix}-iglu-lb"
│
│ An argument named "name" is not expected here.
╵
│ Error: Unsupported argument
│
│ on main.tf line 52, in module "iglu_lb":
│ 52: instance_group_named_port_http = module.iglu_server.named_port_http
│
│ An argument named "instance_group_named_port_http" is not expected here.
╵
│ Error: Unsupported argument
│
│ on main.tf line 53, in module "iglu_lb":
│ 53: instance_group_url = module.iglu_server.instance_group_url
│
│ An argument named "instance_group_url" is not expected here.
╵
│ Error: Unsupported argument
│
│ on main.tf line 54, in module "iglu_lb":
│ 54: health_check_self_link = module.iglu_server.health_check_self_link
│
│ An argument named "health_check_self_link" is not expected here.
╵
│ Error: Unsupported argument
│
│ on main.tf line 56, in module "iglu_lb":
│ 56: ssl_certificate_enabled = var.ssl_information.enabled
│
│ An argument named "ssl_certificate_enabled" is not expected here.
╵
│ Error: Unsupported argument
│
│ on main.tf line 57, in module "iglu_lb":
│ 57: ssl_certificate_id = var.ssl_information.certificate_id
│
│ An argument named "ssl_certificate_id" is not expected here.
what does it means? What I’m doing wrong or missing? I’m running terraform from a Debian 11 VM machine. The first command terraform init
is successfully initiated. I’ve also update the terraform.tfvars
file with (I hope!) the correct values.