Skip to content

Instantly share code, notes, and snippets.

@Hendrik44
Last active June 11, 2021 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hendrik44/a3b8687f545a4d9341ec9d4463dfa343 to your computer and use it in GitHub Desktop.
Save Hendrik44/a3b8687f545a4d9341ec9d4463dfa343 to your computer and use it in GitHub Desktop.
Useful terraform command you need sometimes

Using tfenv:

  • tfenv list-remote
  • tfenv install 0.15.5
  • tfenv use 0.15.5

Creating tf lockfile for all systems:

terraform providers lock
-platform=linux_arm64
-platform=linux_amd64
-platform=darwin_amd64
-platform=windows_amd64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment