Difference between revisions of "Error: Reference to undeclared input variable"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
  
 
== Related ==
 
== Related ==
* <code>[[terraform plan]]</code>
+
* <code>[[terraform plan]] [[-var-file]]="your_file.tfvars"</code>
  
 
== See also ==
 
== See also ==

Revision as of 11:15, 25 October 2022

╷
│ Error: Reference to undeclared input variable
│
│   on main.tf line 327, in module "parameters":
│  327:     value  = "${var.YOUR_VAR}"
│
│ An input variable with the name "YOUR_VAR" has not been declared. This variable can be declared with a variable "YOUR_VAR" {}
│ block.
╵

Related

See also

Advertising: