Difference between revisions of "Terraform output"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
 
  terraform output -raw region
 
  terraform output -raw region
 
  us-east-2%
 
  us-east-2%
 +
 +
terraform output -raw cluster_name
 +
education-eks-Ry318DCv%
  
  

Revision as of 20:24, 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: