Difference between revisions of "Terraform variables"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
  
  
* <code>terraform apply [[-var]]="[[image_id]]=ami-abc123"</code>
+
* <code>[[terraform apply]] [[-var]]="[[image_id]]=ami-abc123"</code>
 
* <code>terraform apply [[-var]]="[[image_id]]=ami-abc123 [[-var]]="your_second_var=yourvalue"</code>
 
* <code>terraform apply [[-var]]="[[image_id]]=ami-abc123 [[-var]]="your_second_var=yourvalue"</code>
 
* <code>terraform apply [[-var-file]]="your_file[[.tfvars]]"</code>
 
* <code>terraform apply [[-var-file]]="your_file[[.tfvars]]"</code>

Revision as of 09:50, 17 February 2022

Advertising: