Created
October 5, 2018 14:44
-
-
Save VannaDii/24d363dd355c7d121067cdf2d3aa65d9 to your computer and use it in GitHub Desktop.
Find unique variables in Terraform files
This file contains hidden or 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
grep -ohe '\${var\.[0-9a-zA-Z_.]*}' ./*.tf | sort --unique |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment