Created
December 5, 2016 01:52
-
-
Save sl1pm4t/de9e0665c42937432f0bcbc353d17cda to your computer and use it in GitHub Desktop.
Convert terraform output to terraform.tfvars format on command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform output | sed -ne 's/\(.*\) = \(.*\)/\1="\2"/p' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you :)