Difference between revisions of "Terraform output"

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
  
  
* <code>[[aws eks]] --region $([[terraform output]] -raw region) update-kubeconfig --name $(terraform output -raw cluster_name)</code>
+
* <code>[[aws eks]] --region $([[terraform output]] -raw region) [[update-kubeconfig]] --name $(terraform output -raw cluster_name)</code>
  
  

Revision as of 20:25, 29 November 2021

terraform output command is used to extract the value of an output variable from the state file.


terraform output your_var
terraform output -raw region
us-east-2%
terraform output -raw cluster_name
education-eks-Ry318DCv%



Related commands

See also

Advertising: