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

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
  │  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 32: Line 32:
 
* {{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: