Skip to content

Instantly share code, notes, and snippets.

@noinarisak
Last active July 16, 2020 23:56
Show Gist options
  • Save noinarisak/38f6a98a34077ac91be9a2cd874c8bbd to your computer and use it in GitHub Desktop.
Save noinarisak/38f6a98a34077ac91be9a2cd874c8bbd to your computer and use it in GitHub Desktop.
Direnv template for Terraform .envrc file
# .envrc with direnv
# Desc:
# Environment Variable debugging Terraform.
# Usage:
# cd into_dir_of_terrafrom_project
# mv terraform.envrc .envrc
#
export TF_LOG=TRACE
export TF_LOG=${PWD}/$(date +"%Y%m%d_%H%M$S").crash.logs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment