Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 731 Bytes

tfoutput.md

File metadata and controls

33 lines (25 loc) · 731 Bytes

TL;DR

Wrapper around terraform output

Use

  gen3 tfoutput [variable-name]

A wrapper around terraform output - runs terraform output in the current workspace to log the current environment's output variables, and generate some supporting files.
A typical command line is: gen3 tfoutput -json > vpcdata.json

$ gen3 tfoutput ssh_config
Host login.planxplanetv1
   ServerAliveInterval 120
   HostName XX.XXX.XXX.XXX
   User ubuntu
   ForwardAgent yes

Host k8s.planxplanetv1
   ServerAliveInterval 120
   HostName 172.XX.XX.XX
   User ubuntu
   ForwardAgent yes
   ProxyCommand ssh [email protected] nc %h %p 2> /dev/null