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

From wikieduonline
Jump to navigation Jump to search
Line 19: Line 19:
 
  │  
 
  │  
 
  │  on main.tf line 203:
 
  │  on main.tf line 203:
  │  203:  cluster-name     = your-cluster
+
  │  203:  cluster_name     = your-cluster
 
  │  
 
  │  
  │ An argument named "cluster-name" is not expected here.
+
  │ An argument named "cluster_name" [[is not expected here]].
  
 
== Related ==
 
== Related ==

Revision as of 09:39, 8 January 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.

Related

See also

Advertising: