Difference between revisions of "Error: Unsupported argument ... An argument named "XXX" is not expected here."

From wikieduonline
Jump to navigation Jump to search
 
(13 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
  │ Error: Unsupported [[argument]]
 
  │ Error: Unsupported [[argument]]
 
  │
 
  │
  │  on [[main.tf]] line 23, in module "your_module_name":
+
  │  on [[main.tf]] line 23, [[in module]] "your_module_name":
 
  │  23:  aws_lb_listener = var.aws_lb_listener
 
  │  23:  aws_lb_listener = var.aws_lb_listener
 
  │
 
  │
  │ An argument named "aws_lb_listener" is not expected here.
+
  │ [[An argument named]] "aws_lb_listener" [[is not expected here]].
  
  
Line 11: Line 11:
  
 
  │ An argument named "xxxxx" is not expected here.
 
  │ An argument named "xxxxx" is not expected here.
 +
 +
| An argument named "subnets" is not expected here.
 +
 +
│ An argument named "[[manage_aws_auth_configmap]]" is not expected here.
 +
 +
  Error: Unsupported argument
 +
 +
│  on main.tf line 203:
 +
│  203:  cluster_name    = your-cluster
 +
 +
│ An argument named "cluster_name" [[is not expected here]].
 +
 +
  An argument named "[[required_version]]" [[is not expected here]].
  
 
== Related ==
 
== Related ==
 
* <code>[[variables.tf]]</code>
 
* <code>[[variables.tf]]</code>
 +
* <code>[[terraform init]], [[terraform plan]]</code>
  
 
== See also ==
 
== See also ==
 
* {{Terraform AWS}}
 
* {{Terraform AWS}}
 
* {{terraform plan}}
 
* {{terraform plan}}
 +
* {{terraform validate}}
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 10:45, 29 February 2024

╷
│ Error: Unsupported argument
│
│   on main.tf line 23, in module "your_module_name":
│   23:   aws_lb_listener = var.aws_lb_listener
│
│ An argument named "aws_lb_listener" is not expected here.


│ An argument named "xxxxx" is not expected here. Did you mean to define a block of type "xxxxxx"?
│ An argument named "xxxxx" is not expected here.
| An argument named "subnets" is not expected here.
│ An argument named "manage_aws_auth_configmap" is not expected here.
 Error: Unsupported argument
│ 
│   on main.tf line 203:
│  203:   cluster_name     = your-cluster
│ 
│ An argument named "cluster_name" is not expected here.
 An argument named "required_version" is not expected here.

Related[edit]

See also[edit]

Advertising: