Skip to content

Instantly share code, notes, and snippets.

@ryno75
ryno75 / gist:cc4ec8f6cdbc14e159f85ce5a92cc807
Created January 12, 2021 22:18
terraform provider ad debug log
[terraformer:14:/tfwork]# TF_LOG=debug terraform apply -auto-approve
2021/01/12 21:59:54 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2021/01/12 21:59:54 [INFO] Terraform version: 0.14.4
2021/01/12 21:59:54 [INFO] Go runtime version: go1.15.6
2021/01/12 21:59:54 [INFO] CLI args: []string{"/usr/bin/terraform", "apply", "-auto-approve"}
2021/01/12 21:59:54 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
2021/01/12 21:59:54 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/01/12 21:59:54 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
@ryno75
ryno75 / Terragrunt error
Created December 3, 2018 15:47
Error received running terragrunt using an AWS assumed role profile
> export AWS_PROFILE=aws.premium.staging
> export AWS_DEFAULT_PROFILE=aws.premium.staging
> aws sts get-caller-identity  SIGINT(2) ↵  11668  07:38:41
{
"UserId": "AROAIYKNPLZYTEIM2JL46:botocore-session-1543851525",
"Account": "##REDACTED##",
"Arn": "arn:aws:sts::##REDACTED##:assumed-role/OrganizationAccountAccessRole/botocore-session-1543851525"
}
> TF_LOG=debug terragrunt plan  1 ↵  11670  07:39:23

Keybase proof

I hereby claim:

  • I am ryno75 on github.
  • I am brawndo (https://keybase.io/brawndo) on keybase.
  • I have a public key whose fingerprint is 2A1A 9D29 B488 B71A 7DD5 8950 9B4C 76C9 2FAA 2DFF

To claim this, I am signing this object: