Skip to content

Instantly share code, notes, and snippets.

@gnthibault
Created March 16, 2022 16:50
Show Gist options
  • Save gnthibault/c383a9887c7dba10d72358ef126fe252 to your computer and use it in GitHub Desktop.
Save gnthibault/c383a9887c7dba10d72358ef126fe252 to your computer and use it in GitHub Desktop.
Terraform v1.1.5
on linux_amd64
Initializing plugins and modules...
{"@level":"info","@message":"Terraform 1.1.5","@module":"terraform.ui","@timestamp":"2022-03-16T16:22:52.985423Z","terraform":"1.1.5","type":"version","ui":"1.0"}
{"@level":"info","@message":"module.gcloud.null_resource.gcloud_init: Plan to replace","@module":"terraform.ui","@timestamp":"2022-03-16T16:22:59.765190Z","change":{"resource":{"addr":"module.gcloud.null_resource.gcloud_init","module":"module.gcloud","resource":"null_resource.gcloud_init","implied_provider":"null","resource_type":"null_resource","resource_name":"gcloud_init","resource_key":null},"action":"replace","reason":"cannot_update"},"type":"planned_change"}
{"@level":"info","@message":"module.monitoring.module.stackdriver-alerting.google_monitoring_metric_descriptor.with_alert: Plan to replace","@module":"terraform.ui","@timestamp":"2022-03-16T16:22:59.766321Z","change":{"resource":{"addr":"module.monitoring.module.stackdriver-alerting.google_monitoring_metric_descriptor.with_alert","module":"module.monitoring.module.stackdriver-alerting","resource":"google_monitoring_metric_descriptor.with_alert","implied_provider":"google","resource_type":"google_monitoring_metric_descriptor","resource_name":"with_alert","resource_key":null},"action":"replace","reason":"cannot_update"},"type":"planned_change"}
{"@level":"info","@message":"module.cmp.data.google_project.composer2_project: Plan to read","@module":"terraform.ui","@timestamp":"2022-03-16T16:22:59.766374Z","change":{"resource":{"addr":"module.cmp.data.google_project.composer2_project","module":"module.cmp","resource":"data.google_project.composer2_project","implied_provider":"google","resource_type":"google_project","resource_name":"composer2_project","resource_key":null},"action":"read"},"type":"planned_change"}
{"@level":"info","@message":"module.cmp.null_resource.gke-get-credentials[0]: Plan to replace","@module":"terraform.ui","@timestamp":"2022-03-16T16:22:59.766398Z","change":{"resource":{"addr":"module.cmp.null_resource.gke-get-credentials[0]","module":"module.cmp","resource":"null_resource.gke-get-credentials[0]","implied_provider":"null","resource_type":"null_resource","resource_name":"gke-get-credentials","resource_key":0},"action":"replace","reason":"cannot_update"},"type":"planned_change"}
{"@level":"info","@message":"module.monitoring.module.stackdriver-alerting.google_monitoring_metric_descriptor.with_alert: Destroying... [id=projects/PROJECT_NAME/metricDescriptors/custom.googleapis.com/stores/daily_sales]","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:02.367935Z","hook":{"resource":{"addr":"module.monitoring.module.stackdriver-alerting.google_monitoring_metric_descriptor.with_alert","module":"module.monitoring.module.stackdriver-alerting","resource":"google_monitoring_metric_descriptor.with_alert","implied_provider":"google","resource_type":"google_monitoring_metric_descriptor","resource_name":"with_alert","resource_key":null},"action":"delete","id_key":"id","id_value":"projects/PROJECT_NAME/metricDescriptors/custom.googleapis.com/stores/daily_sales"},"type":"apply_start"}
{"@level":"info","@message":"module.cmp.null_resource.gke-get-credentials[0]: Destroying... [id=7244215886857730647]","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:02.370596Z","hook":{"resource":{"addr":"module.cmp.null_resource.gke-get-credentials[0]","module":"module.cmp","resource":"null_resource.gke-get-credentials[0]","implied_provider":"null","resource_type":"null_resource","resource_name":"gke-get-credentials","resource_key":0},"action":"delete","id_key":"id","id_value":"7244215886857730647"},"type":"apply_start"}
{"@level":"info","@message":"module.cmp.null_resource.gke-get-credentials[0]: Destruction complete after 0s","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:02.371590Z","hook":{"resource":{"addr":"module.cmp.null_resource.gke-get-credentials[0]","module":"module.cmp","resource":"null_resource.gke-get-credentials[0]","implied_provider":"null","resource_type":"null_resource","resource_name":"gke-get-credentials","resource_key":0},"action":"delete","elapsed_seconds":0},"type":"apply_complete"}
{"@level":"info","@message":"module.gcloud.null_resource.gcloud_init: Destroying... [id=8337435065456600333]","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:02.381403Z","hook":{"resource":{"addr":"module.gcloud.null_resource.gcloud_init","module":"module.gcloud","resource":"null_resource.gcloud_init","implied_provider":"null","resource_type":"null_resource","resource_name":"gcloud_init","resource_key":null},"action":"delete","id_key":"id","id_value":"8337435065456600333"},"type":"apply_start"}
{"@level":"info","@message":"module.gcloud.null_resource.gcloud_init: Destruction complete after 0s","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:02.382120Z","hook":{"resource":{"addr":"module.gcloud.null_resource.gcloud_init","module":"module.gcloud","resource":"null_resource.gcloud_init","implied_provider":"null","resource_type":"null_resource","resource_name":"gcloud_init","resource_key":null},"action":"delete","elapsed_seconds":0},"type":"apply_complete"}
{"@level":"info","@message":"module.gcloud.null_resource.gcloud_init: Creating...","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:02.393837Z","hook":{"resource":{"addr":"module.gcloud.null_resource.gcloud_init","module":"module.gcloud","resource":"null_resource.gcloud_init","implied_provider":"null","resource_type":"null_resource","resource_name":"gcloud_init","resource_key":null},"action":"create"},"type":"apply_start"}
{"@level":"info","@message":"module.gcloud.null_resource.gcloud_init: Provisioning with 'local-exec'...","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:02.395552Z","hook":{"resource":{"addr":"module.gcloud.null_resource.gcloud_init","module":"module.gcloud","resource":"null_resource.gcloud_init","implied_provider":"null","resource_type":"null_resource","resource_name":"gcloud_init","resource_key":null},"provisioner":"local-exec"},"type":"provision_start"}
{"@level":"info","@message":"module.gcloud.null_resource.gcloud_init: (local-exec): (output suppressed due to sensitive value in config)","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:02.395733Z","hook":{"resource":{"addr":"module.gcloud.null_resource.gcloud_init","module":"module.gcloud","resource":"null_resource.gcloud_init","implied_provider":"null","resource_type":"null_resource","resource_name":"gcloud_init","resource_key":null},"provisioner":"local-exec","output":"(output suppressed due to sensitive value in config)"},"type":"provision_progress"}
{"@level":"info","@message":"module.monitoring.module.stackdriver-alerting.google_monitoring_metric_descriptor.with_alert: Destruction errored after 1s","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:02.597012Z","hook":{"resource":{"addr":"module.monitoring.module.stackdriver-alerting.google_monitoring_metric_descriptor.with_alert","module":"module.monitoring.module.stackdriver-alerting","resource":"google_monitoring_metric_descriptor.with_alert","implied_provider":"google","resource_type":"google_monitoring_metric_descriptor","resource_name":"with_alert","resource_key":null},"action":"delete","elapsed_seconds":1},"type":"apply_errored"}
{"@level":"info","@message":"module.gcloud.null_resource.gcloud_init: (local-exec): (output suppressed due to sensitive value in config)","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:03.423458Z","hook":{"resource":{"addr":"module.gcloud.null_resource.gcloud_init","module":"module.gcloud","resource":"null_resource.gcloud_init","implied_provider":"null","resource_type":"null_resource","resource_name":"gcloud_init","resource_key":null},"provisioner":"local-exec","output":"(output suppressed due to sensitive value in config)"},"type":"provision_progress"}
{"@level":"info","@message":"module.gcloud.null_resource.gcloud_init: (local-exec): (output suppressed due to sensitive value in config)","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:04.259403Z","hook":{"resource":{"addr":"module.gcloud.null_resource.gcloud_init","module":"module.gcloud","resource":"null_resource.gcloud_init","implied_provider":"null","resource_type":"null_resource","resource_name":"gcloud_init","resource_key":null},"provisioner":"local-exec","output":"(output suppressed due to sensitive value in config)"},"type":"provision_progress"}
{"@level":"info","@message":"module.gcloud.null_resource.gcloud_init: (local-exec): (output suppressed due to sensitive value in config)","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:04.259476Z","hook":{"resource":{"addr":"module.gcloud.null_resource.gcloud_init","module":"module.gcloud","resource":"null_resource.gcloud_init","implied_provider":"null","resource_type":"null_resource","resource_name":"gcloud_init","resource_key":null},"provisioner":"local-exec","output":"(output suppressed due to sensitive value in config)"},"type":"provision_progress"}
{"@level":"info","@message":"module.gcloud.null_resource.gcloud_init: (local-exec): (output suppressed due to sensitive value in config)","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:04.259538Z","hook":{"resource":{"addr":"module.gcloud.null_resource.gcloud_init","module":"module.gcloud","resource":"null_resource.gcloud_init","implied_provider":"null","resource_type":"null_resource","resource_name":"gcloud_init","resource_key":null},"provisioner":"local-exec","output":"(output suppressed due to sensitive value in config)"},"type":"provision_progress"}
{"@level":"info","@message":"module.gcloud.null_resource.gcloud_init: (local-exec): (output suppressed due to sensitive value in config)","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:04.259614Z","hook":{"resource":{"addr":"module.gcloud.null_resource.gcloud_init","module":"module.gcloud","resource":"null_resource.gcloud_init","implied_provider":"null","resource_type":"null_resource","resource_name":"gcloud_init","resource_key":null},"provisioner":"local-exec","output":"(output suppressed due to sensitive value in config)"},"type":"provision_progress"}
{"@level":"info","@message":"module.gcloud.null_resource.gcloud_init: (local-exec): (output suppressed due to sensitive value in config)","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:04.259664Z","hook":{"resource":{"addr":"module.gcloud.null_resource.gcloud_init","module":"module.gcloud","resource":"null_resource.gcloud_init","implied_provider":"null","resource_type":"null_resource","resource_name":"gcloud_init","resource_key":null},"provisioner":"local-exec","output":"(output suppressed due to sensitive value in config)"},"type":"provision_progress"}
{"@level":"info","@message":"module.gcloud.null_resource.gcloud_init: (local-exec): (output suppressed due to sensitive value in config)","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:04.259713Z","hook":{"resource":{"addr":"module.gcloud.null_resource.gcloud_init","module":"module.gcloud","resource":"null_resource.gcloud_init","implied_provider":"null","resource_type":"null_resource","resource_name":"gcloud_init","resource_key":null},"provisioner":"local-exec","output":"(output suppressed due to sensitive value in config)"},"type":"provision_progress"}
{"@level":"info","@message":"module.gcloud.null_resource.gcloud_init: (local-exec) Provisioning complete","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:04.337503Z","hook":{"resource":{"addr":"module.gcloud.null_resource.gcloud_init","module":"module.gcloud","resource":"null_resource.gcloud_init","implied_provider":"null","resource_type":"null_resource","resource_name":"gcloud_init","resource_key":null},"provisioner":"local-exec"},"type":"provision_complete"}
{"@level":"info","@message":"module.gcloud.null_resource.gcloud_init: Creation complete after 2s [id=367716030191511427]","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:04.337856Z","hook":{"resource":{"addr":"module.gcloud.null_resource.gcloud_init","module":"module.gcloud","resource":"null_resource.gcloud_init","implied_provider":"null","resource_type":"null_resource","resource_name":"gcloud_init","resource_key":null},"action":"create","id_key":"id","id_value":"367716030191511427","elapsed_seconds":2},"type":"apply_complete"}
{"@level":"info","@message":"module.cmp.data.google_project.composer2_project: Refreshing... [id=projects/PROJECT_NAME]","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:04.365583Z","hook":{"resource":{"addr":"module.cmp.data.google_project.composer2_project","module":"module.cmp","resource":"data.google_project.composer2_project","implied_provider":"google","resource_type":"google_project","resource_name":"composer2_project","resource_key":null},"action":"read","id_key":"id","id_value":"projects/PROJECT_NAME"},"type":"apply_start"}
{"@level":"info","@message":"module.cmp.null_resource.gke-get-credentials[0]: Creating...","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:04.371785Z","hook":{"resource":{"addr":"module.cmp.null_resource.gke-get-credentials[0]","module":"module.cmp","resource":"null_resource.gke-get-credentials[0]","implied_provider":"null","resource_type":"null_resource","resource_name":"gke-get-credentials","resource_key":0},"action":"create"},"type":"apply_start"}
{"@level":"info","@message":"module.cmp.null_resource.gke-get-credentials[0]: Provisioning with 'local-exec'...","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:04.376273Z","hook":{"resource":{"addr":"module.cmp.null_resource.gke-get-credentials[0]","module":"module.cmp","resource":"null_resource.gke-get-credentials[0]","implied_provider":"null","resource_type":"null_resource","resource_name":"gke-get-credentials","resource_key":0},"provisioner":"local-exec"},"type":"provision_start"}
{"@level":"info","@message":"module.cmp.null_resource.gke-get-credentials[0]: (local-exec): Executing: [\"/bin/sh\" \"-c\" \" clustername=`echo projects/PROJECT_NAME/locations/europe-west3/clusters/some_cluster_id | rev | cut -d/ -f1 | rev` \u0026\u0026\\n gcloud container clusters get-credentials $clustername \\\\\\n --zone europe-west3 \\\\\\n --project=PROJECT_NAME\\n\\n\"]","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:04.376390Z","hook":{"resource":{"addr":"module.cmp.null_resource.gke-get-credentials[0]","module":"module.cmp","resource":"null_resource.gke-get-credentials[0]","implied_provider":"null","resource_type":"null_resource","resource_name":"gke-get-credentials","resource_key":0},"provisioner":"local-exec","output":"Executing: [\"/bin/sh\" \"-c\" \" clustername=`echo projects/PROJECT_NAME/locations/europe-west3/clusters/some_cluster_id | rev | cut -d/ -f1 | rev` \u0026\u0026\\n gcloud container clusters get-credentials $clustername \\\\\\n --zone europe-west3 \\\\\\n --project=PROJECT_NAME\\n\\n\"]"},"type":"provision_progress"}
{"@level":"info","@message":"module.cmp.null_resource.gke-get-credentials[0]: (local-exec): Fetching cluster endpoint and auth data.","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:05.042612Z","hook":{"resource":{"addr":"module.cmp.null_resource.gke-get-credentials[0]","module":"module.cmp","resource":"null_resource.gke-get-credentials[0]","implied_provider":"null","resource_type":"null_resource","resource_name":"gke-get-credentials","resource_key":0},"provisioner":"local-exec","output":"Fetching cluster endpoint and auth data."},"type":"provision_progress"}
{"@level":"info","@message":"module.cmp.null_resource.gke-get-credentials[0]: (local-exec): kubeconfig entry generated for some_cluster_id.","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:05.125152Z","hook":{"resource":{"addr":"module.cmp.null_resource.gke-get-credentials[0]","module":"module.cmp","resource":"null_resource.gke-get-credentials[0]","implied_provider":"null","resource_type":"null_resource","resource_name":"gke-get-credentials","resource_key":0},"provisioner":"local-exec","output":"kubeconfig entry generated for some_cluster_id."},"type":"provision_progress"}
{"@level":"info","@message":"module.cmp.null_resource.gke-get-credentials[0]: (local-exec) Provisioning complete","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:05.217269Z","hook":{"resource":{"addr":"module.cmp.null_resource.gke-get-credentials[0]","module":"module.cmp","resource":"null_resource.gke-get-credentials[0]","implied_provider":"null","resource_type":"null_resource","resource_name":"gke-get-credentials","resource_key":0},"provisioner":"local-exec"},"type":"provision_complete"}
{"@level":"info","@message":"module.cmp.null_resource.gke-get-credentials[0]: Creation complete after 1s [id=2925673127471388056]","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:05.217656Z","hook":{"resource":{"addr":"module.cmp.null_resource.gke-get-credentials[0]","module":"module.cmp","resource":"null_resource.gke-get-credentials[0]","implied_provider":"null","resource_type":"null_resource","resource_name":"gke-get-credentials","resource_key":0},"action":"create","id_key":"id","id_value":"2925673127471388056","elapsed_seconds":1},"type":"apply_complete"}
{"@level":"info","@message":"module.cmp.data.google_project.composer2_project: Refresh complete after 2s [id=projects/PROJECT_NAME]","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:05.625677Z","hook":{"resource":{"addr":"module.cmp.data.google_project.composer2_project","module":"module.cmp","resource":"data.google_project.composer2_project","implied_provider":"google","resource_type":"google_project","resource_name":"composer2_project","resource_key":null},"action":"read","id_key":"id","id_value":"projects/PROJECT_NAME","elapsed_seconds":2},"type":"apply_complete"}
{"@level":"error","@message":"Error: Error when reading or editing MetricDescriptor: googleapi: Error 400: The metric 'custom.googleapis.com/stores/daily_sales' is currently used in one or more alert policies.","@module":"terraform.ui","@timestamp":"2022-03-16T16:23:07.597430Z","diagnostic":{"severity":"error","summary":"Error when reading or editing MetricDescriptor: googleapi: Error 400: The metric 'custom.googleapis.com/stores/daily_sales' is currently used in one or more alert policies.","detail":""},"type":"diagnostic"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment