This code is based around a question posted on Twitter
- Log into Terraform Cloud using
terraform login
. - Apply the three outputs in
main.tf
usingterraform apply
. - Execute
get-terraform-cloud-output-values.sh
to retrieve the output values through the TFC API.
The expected API outputs should look like the three green strings: