Skip to content

Instantly share code, notes, and snippets.

@minherz
Last active June 3, 2019 05:31
Show Gist options
  • Save minherz/ed59b2bac559ae8b66e1ccefd087f524 to your computer and use it in GitHub Desktop.
Save minherz/ed59b2bac559ae8b66e1ccefd087f524 to your computer and use it in GitHub Desktop.
TF_LOG=trace terraform init output
2019/06/03 08:29:00 [INFO] Terraform version: 0.11.14
2019/06/03 08:29:00 [INFO] Go runtime version: go1.12.4
2019/06/03 08:29:00 [INFO] CLI args: []string{"/usr/bin/terraform", "init"}
2019/06/03 08:29:00 [DEBUG] Attempting to open CLI config file: /home/acme/.terraformrc
2019/06/03 08:29:00 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/06/03 08:29:00 [INFO] CLI command args: []string{"init"}
2019/06/03 08:29:00 [DEBUG] command: loading backend config file: /home/acme/workdir/terraform-labs/getting-started
Initializing the backend...
2019/06/03 08:29:00 [TRACE] Preserving existing state lineage "c7d18213-da77-bbef-ed78-34740d2651f5"
2019/06/03 08:29:00 [TRACE] Preserving existing state lineage "c7d18213-da77-bbef-ed78-34740d2651f5"
2019/06/03 08:29:00 [WARN] command: backend config change! saved: 16406801859922431956, new: 12599934236586019669
Backend configuration changed!
Terraform has detected that the configuration specified for the backend
has changed. Terraform will now check for existing state in the backends.
2019/06/03 08:29:01 [DEBUG] plugin: waiting for all plugin processes to complete...
Error inspecting states in the "gcs" backend:
querying Cloud Storage failed: googleapi: Error 403: [email protected] does not have storage.objects.list access to states., forbidden
Prior to changing backends, Terraform inspects the source and destination
states to determine what kind of migration steps need to be taken, if any.
Terraform failed to load the states. The data in both the source and the
destination remain unmodified. Please resolve the above error and try again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment