Skip to content

Instantly share code, notes, and snippets.

@gabsn
Created February 12, 2020 13:37
Show Gist options
  • Save gabsn/50efcfbc4dc86f024af1923771329d0f to your computer and use it in GitHub Desktop.
Save gabsn/50efcfbc4dc86f024af1923771329d0f to your computer and use it in GitHub Desktop.
# module.app_dbs.google_sql_database.app will be created
le-beta_v3.7.0_x5: 2020/02/12 14:36:34 [INFO] Instantiating Google Cloud Spanner client for path https://spanner.googleapis.com/
+ resource "google_sql_database" "app" {
2020-02-12T14:36:34.149+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:34 [INFO] Instantiating Google Cloud Dataproc client for path https://dataproc.googleapis.com/
2020-02-12T14:36:34.149+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:34 [INFO] Instantiating Google Cloud Dataproc Beta client for path https://dataproc.googleapis.com/
2020-02-12T14:36:34.149+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:34 [INFO] Instantiating Filestore client for path https://file.googleapis.com/
2020-02-12T14:36:34.149+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:34 [INFO] Instantiating Google Cloud IoT Core client for path https://cloudiot.googleapis.com/
2020-02-12T14:36:34.149+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:34 [INFO] Instantiating App Engine client for path https://appengine.googleapis.com/
+ charset = (known after apply)
2020-02-12T14:36:34.149+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:34 [INFO] Instantiating Cloud Composer client for path https://composer.googleapis.com/
2020-02-12T14:36:34.149+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:34 [INFO] Instantiating Service Networking client for path https://servicenetworking.googleapis.com/
2020-02-12T14:36:34.149+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:34 [INFO] Instantiating Google Cloud Storage Transfer client for path https://storagetransfer.googleapis.com/
2020-02-12T14:36:34.149+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:34 [INFO] Instantiating Google Cloud Healthcare client for path https://healthcare.googleapis.com/
+ collation = (known after apply)
2020/02/12 14:36:34 [DEBUG] ReferenceTransformer: "module.assets_storage.google_compute_managed_ssl_certificate.assets" references: []
+ id = (known after apply)
*terraform.ReferenceTransformer (no changes)
+ instance = "app-db"
2020/02/12 14:36:34 [DEBUG] ReferenceTransformer: "module.assets_storage.google_compute_target_https_proxy.assets" references: []
2020-02-12T14:36:34.155+0100 [DEBUG] plugin: plugin process exited: path=/Users/gabin/src/github.com/inato/infrastructure/terraform/production/.terraform/plugins/darwin_amd64/terraform-provider-google-beta_v3.7.0_x5 pid=9769
2020-02-12T14:36:34.155+0100 [DEBUG] plugin: plugin exited
2020/02/12 14:36:34 [DEBUG] ReferenceTransformer: "module.assets_storage.google_compute_global_forwarding_rule.https-assets" references: []
+ name = "inato_app"
2020-02-12T14:36:34.162+0100 [DEBUG] plugin: plugin process exited: path=/Users/gabin/src/github.com/inato/infrastructure/terraform/production/.terraform/plugins/darwin_amd64/terraform-provider-google_v3.7.0_x5 pid=9768
2020-02-12T14:36:34.162+0100 [DEBUG] plugin: plugin exited
+ project = "production-267414"
+ self_link = (known after apply)
}
# module.app_dbs.google_sql_database_instance.app will be created
+ resource "google_sql_database_instance" "app" {
+ connection_name = (known after apply)
+ database_version = "POSTGRES_9_6"
+ first_ip_address = (known after apply)
+ id = (known after apply)
+ ip_address = (known after apply)
+ master_instance_name = "app-master"
+ name = "app-db"
+ private_ip_address = (known after apply)
+ project = "production-267414"
+ public_ip_address = (known after apply)
+ region = "europe-west1"
+ self_link = (known after apply)
+ server_ca_cert = (known after apply)
+ service_account_email_address = (known after apply)
+ replica_configuration {
+ password = (sensitive value)
+ username = "readonly"
}
+ settings {
+ activation_policy = (known after apply)
+ availability_type = (known after apply)
+ crash_safe_replication = (known after apply)
+ disk_autoresize = true
+ disk_size = (known after apply)
+ disk_type = (known after apply)
+ pricing_plan = "PER_USE"
+ replication_type = "SYNCHRONOUS"
+ tier = "db-custom-2-7680"
+ version = (known after apply)
+ backup_configuration {
+ binary_log_enabled = (known after apply)
+ enabled = (known after apply)
+ location = (known after apply)
+ start_time = (known after apply)
}
+ ip_configuration {
+ ipv4_enabled = (known after apply)
+ private_network = (known after apply)
+ require_ssl = (known after apply)
+ authorized_networks {
+ expiration_time = (known after apply)
+ name = (known after apply)
+ value = (known after apply)
}
}
+ location_preference {
+ follow_gae_application = (known after apply)
+ zone = (known after apply)
}
}
}
# module.app_dbs.google_sql_user.app will be created
+ resource "google_sql_user" "app" {
+ id = (known after apply)
+ instance = "app-db"
+ name = "inato_app"
+ password = (sensitive value)
+ project = "production-267414"
}
# module.app_dbs.google_sql_user.data will be created
+ resource "google_sql_user" "data" {
+ id = (known after apply)
+ instance = "app-db"
+ name = "inato_data"
+ password = (sensitive value)
+ project = "production-267414"
}
Plan: 4 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
2020/02/12 14:36:37 [INFO] backend/local: apply calling Apply
2020/02/12 14:36:37 [INFO] terraform: building graph: GraphTypeApply
2020/02/12 14:36:37 [DEBUG] Resource state not found for node "module.app_dbs.google_sql_user.data", instance module.app_dbs.google_sql_user.data
2020/02/12 14:36:37 [DEBUG] Resource state not found for node "module.app_dbs.google_sql_database_instance.app", instance module.app_dbs.google_sql_database_instance.app
2020/02/12 14:36:37 [DEBUG] Resource state not found for node "module.app_dbs.google_sql_database.app", instance module.app_dbs.google_sql_database.app
2020/02/12 14:36:37 [DEBUG] Resource state not found for node "module.app_dbs.google_sql_user.app", instance module.app_dbs.google_sql_user.app
2020/02/12 14:36:37 [DEBUG] adding implicit provider configuration provider.google-beta, implied first by module.assets_storage.google_compute_managed_ssl_certificate.assets (prepare state)
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.assets_storage.google_compute_target_http_proxy.assets (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.assets_storage.google_compute_managed_ssl_certificate.assets (prepare state)" (*terraform.NodeApplyableResource) needs provider.google-beta
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.app_dbs.google_sql_user.data" (*terraform.NodeApplyableResourceInstance) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.circle_ci.google_service_account.circle-ci-app (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.app_dbs.google_sql_database.app (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.assets_storage.google_compute_url_map.assets (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.app_dbs.google_sql_user.data (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.assets_storage.google_compute_global_address.assets (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.questionnaire_pdf.google_service_account.questionnaire-pdf (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.app_cluster.google_compute_address.load-balancer-ip (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.assets_storage.google_compute_target_https_proxy.assets (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.assets_storage.google_storage_bucket.assets (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.assets_storage.google_storage_bucket_iam_member.viewer (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.assets_storage.google_compute_global_forwarding_rule.https-assets (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.app_dbs.google_sql_user.app (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.app_dbs.google_sql_user.app" (*terraform.NodeApplyableResourceInstance) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.app_cluster.google_container_cluster.cluster (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.app_dbs.google_sql_database_instance.app (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.circle_ci.google_project_iam_member.circle-ci-kubernetes-admin (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.app_dbs.google_sql_database_instance.export (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.circle_ci.google_project_iam_member.circle-ci-storage-admin (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.app_dbs.google_sql_user.export (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.assets_storage.data.google_project.project (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.circle_ci.google_project_iam_member.circle-ci-project-editor (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.app_dbs.google_sql_database.app" (*terraform.NodeApplyableResourceInstance) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.questionnaire_pdf.google_storage_bucket.questionnaire-pdf (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.app_dbs.google_sql_database.export (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.assets_storage.google_compute_global_forwarding_rule.assets (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ProviderTransformer: "module.assets_storage.google_compute_backend_bucket.assets (prepare state)" (*terraform.NodeApplyableResource) needs provider.google
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_cluster.google_container_node_pool.node_pool (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_dbs.var.sql_export_user_password" references: [var.sql_export_user_password]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_dbs.var.project_id" references: [var.project_id]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.assets_storage.google_storage_bucket.assets (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.assets_storage.google_compute_backend_bucket.assets (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_dbs.google_sql_database.app" references: [module.app_dbs.var.project_id module.app_dbs.google_sql_database_instance.app module.app_dbs.google_sql_database_instance.app module.app_dbs.google_sql_database_instance.app (prepare state)]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "var.ssl_domain" references: []
er_password" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.questionnaire_pdf.output.bucket_name" references: [module.questionnaire_pdf.google_storage_bucket.questionnaire-pdf (prepare state)]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.assets_storage.output.bucket_name" references: [module.assets_storage.google_storage_bucket.assets (prepare state)]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "output.load_balancer_ip" references: [module.app_cluster.output.load_balancer_ip]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.assets_storage.google_storage_bucket_iam_member.viewer (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.questionnaire_pdf.google_storage_bucket.questionnaire-pdf (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.circle_ci.var.project_id" references: [var.project_id]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_dbs.var.export_db_name" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_dbs.google_sql_database.app (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.assets_storage.google_compute_url_map.assets (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.circle_ci.google_project_iam_member.circle-ci-kubernetes-admin (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "var.sql_data_user_password" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "var.project_id" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "output.questionnaire_pdf_bucket_name" references: [module.questionnaire_pdf.output.bucket_name]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.questionnaire_pdf.var.project_id" references: [var.project_id]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_cluster.var.node_pool_initial_node_count" references: []
former: "module.app_dbs.google_sql_user.app (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "provider.google" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_dbs.google_sql_user.app" references: [module.app_dbs.google_sql_database_instance.app module.app_dbs.google_sql_database_instance.app module.app_dbs.google_sql_database_instance.app (prepare state) module.app_dbs.var.sql_app_user_password module.app_dbs.var.project_id]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "var.sql_export_user_password" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_dbs.var.sql_app_user_password" references: [var.sql_app_user_password]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.assets_storage.google_compute_target_http_proxy.assets (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_dbs.google_sql_database.export (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.circle_ci.google_project_iam_member.circle-ci-storage-admin (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.assets_storage.output.assets_ip" references: [module.assets_storage.google_compute_global_address.assets (prepare state)]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.assets_storage.var.name" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_dbs.google_sql_database_instance.export (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_dbs.google_sql_user.export (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.assets_storage.google_compute_global_address.assets (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.questionnaire_pdf.google_service_account.questionnaire-pdf (prepare state)" references: []
e_instance.app" references: [module.app_dbs.var.app_db_name module.app_dbs.var.project_id]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_dbs.google_sql_user.data (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_dbs.output.export_db_ip" references: [module.app_dbs.google_sql_database_instance.export (prepare state)]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_cluster.output.load_balancer_ip" references: [module.app_cluster.google_compute_address.load-balancer-ip (prepare state)]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "output.export_db_ip" references: [module.app_dbs.output.export_db_ip]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_dbs.var.app_db_name" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.assets_storage.var.project_id" references: [var.project_id]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.questionnaire_pdf.google_project_iam_member.questionnaire-pdf-storage-object-admin (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_cluster.var.vpc_enabled" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.assets_storage.var.ssl_domain" references: [var.ssl_domain]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_cluster.google_container_cluster.cluster (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_dbs.var.backup_enabled" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.assets_storage.google_compute_managed_ssl_certificate.assets (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_cluster.google_compute_address.load-balancer-ip (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.assets_storage.google_compute_global_forwarding_rule.assets (prepare state)" references: []
oject_iam_member.circle-ci-project-editor (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_cluster.var.project_id" references: [var.project_id]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.assets_storage.data.google_project.project (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_dbs.google_sql_user.data" references: [module.app_dbs.google_sql_database_instance.app module.app_dbs.google_sql_database_instance.app module.app_dbs.google_sql_database_instance.app (prepare state) module.app_dbs.var.sql_data_user_password module.app_dbs.var.project_id]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "output.assets_ip" references: [module.assets_storage.output.assets_ip]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.assets_storage.google_compute_target_https_proxy.assets (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.assets_storage.google_compute_global_forwarding_rule.https-assets (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.circle_ci.google_service_account.circle-ci-app (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_dbs.var.sql_data_user_password" references: [var.sql_data_user_password]
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "provider.google-beta" references: []
2020/02/12 14:36:37 [DEBUG] ReferenceTransformer: "module.app_dbs.google_sql_database_instance.app (prepare state)" references: []
2020/02/12 14:36:37 [DEBUG] Starting graph walk: walkApply
2020-02-12T14:36:37.206+0100 [INFO] plugin: configuring client automatic mTLS
2020-02-12T14:36:37.229+0100 [DEBUG] plugin: starting plugin: path=/Users/gabin/src/github.com/inato/infrastructure/terraform/production/.terraform/plugins/darwin_amd64/terraform-provider-google_v3.7.0_x5 args=[/Users/gabin/src/github.com/inato/infrastructure/terraform/production/.terraform/plugins/darwin_amd64/terraform-provider-google_v3.7.0_x5]
2020-02-12T14:36:37.237+0100 [DEBUG] plugin: plugin started: path=/Users/gabin/src/github.com/inato/infrastructure/terraform/production/.terraform/plugins/darwin_amd64/terraform-provider-google_v3.7.0_x5 pid=9783
2020-02-12T14:36:37.237+0100 [DEBUG] plugin: waiting for RPC address: path=/Users/gabin/src/github.com/inato/infrastructure/terraform/production/.terraform/plugins/darwin_amd64/terraform-provider-google_v3.7.0_x5
2020-02-12T14:36:37.250+0100 [INFO] plugin.terraform-provider-google_v3.7.0_x5: configuring server automatic mTLS: timestamp=2020-02-12T14:36:37.250+0100
2020-02-12T14:36:37.273+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: plugin address: address=/var/folders/xt/jbt_c_k937d6v511ddj__pbr0000gn/T/plugin388051338 network=unix timestamp=2020-02-12T14:36:37.273+0100
2020-02-12T14:36:37.273+0100 [DEBUG] plugin: using plugin: version=5
2020-02-12T14:36:37.274+0100 [INFO] plugin: configuring client automatic mTLS
2020-02-12T14:36:37.298+0100 [DEBUG] plugin: starting plugin: path=/Users/gabin/src/github.com/inato/infrastructure/terraform/production/.terraform/plugins/darwin_amd64/terraform-provider-google-beta_v3.7.0_x5 args=[/Users/gabin/src/github.com/inato/infrastructure/terraform/production/.terraform/plugins/darwin_amd64/terraform-provider-google-beta_v3.7.0_x5]
2020-02-12T14:36:37.306+0100 [DEBUG] plugin: plugin started: path=/Users/gabin/src/github.com/inato/infrastructure/terraform/production/.terraform/plugins/darwin_amd64/terraform-provider-google-beta_v3.7.0_x5 pid=9784
2020-02-12T14:36:37.306+0100 [DEBUG] plugin: waiting for RPC address: path=/Users/gabin/src/github.com/inato/infrastructure/terraform/production/.terraform/plugins/darwin_amd64/terraform-provider-google-beta_v3.7.0_x5
2020-02-12T14:36:37.321+0100 [INFO] plugin.terraform-provider-google-beta_v3.7.0_x5: configuring server automatic mTLS: timestamp=2020-02-12T14:36:37.321+0100
2020-02-12T14:36:37.351+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: plugin address: address=/var/folders/xt/jbt_c_k937d6v511ddj__pbr0000gn/T/plugin895368031 network=unix timestamp=2020-02-12T14:36:37.351+0100
2020-02-12T14:36:37.351+0100 [DEBUG] plugin: using plugin: version=5
2020-02-12T14:36:37.360+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Authenticating using configured Google JSON 'credentials'...
2020-02-12T14:36:37.360+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email]
2020-02-12T14:36:37.360+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating GCE client for path https://www.googleapis.com/compute/v1/projects/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating GCE Beta client for path https://www.googleapis.com/compute/beta/projects/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating GKE client for path https://container.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating GKE Beta client for path https://container.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud DNS client for path https://www.googleapis.com/dns/v1/projects/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud DNS Beta client for path https://www.googleapis.com/dns/v1beta2/projects/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud KMS client for path https://cloudkms.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Stackdriver Logging client for path https://logging.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Storage client for path https://www.googleapis.com/storage/v1/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google SqlAdmin client for path https://www.googleapis.com/sql/v1beta4/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Pubsub client for path https://pubsub.googleapis.com/
aflow client for path https://dataflow.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud ResourceManager client for path https://cloudresourcemanager.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud ResourceManager V client for path https://cloudresourcemanager.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Runtimeconfig client for path https://runtimeconfig.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud IAM client for path https://iam.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud IAMCredentials client for path https://iamcredentials.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Service Management client for path https://servicemanagement.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Service Usage client for path https://serviceusage.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Billing client for path https://cloudbilling.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Build client for path https://cloudbuild.googleapis.com/
ogleapis.com/bigquery/v2/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud CloudFunctions Client for path https://cloudfunctions.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud BigtableAdmin for path https://bigtableadmin.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Source Repo client for path https://sourcerepo.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Spanner client for path https://spanner.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Dataproc client for path https://dataproc.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Dataproc Beta client for path https://dataproc.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Filestore client for path https://file.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud IoT Core client for path https://cloudiot.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating App Engine client for path https://appengine.googleapis.com/
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Cloud Composer client for path https://composer.googleapis.com/
vertex "provider.google": visit complete
2020-02-12T14:36:37.368+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Service Networking client for path https://servicenetworking.googleapis.com/
2020-02-12T14:36:37.369+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Storage Transfer client for path https://storagetransfer.googleapis.com/
2020/02/12 14:36:37 [WARN] Provider "registry.terraform.io/-/google" produced an invalid plan for module.app_dbs.google_sql_database_instance.app, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .settings[0].pricing_plan: planned value cty.StringVal("PER_USE") does not match config value cty.NullVal(cty.String)
- .settings[0].replication_type: planned value cty.StringVal("SYNCHRONOUS") does not match config value cty.NullVal(cty.String)
- .settings[0].disk_autoresize: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .settings[0].backup_configuration: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
- .settings[0].ip_configuration: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
- .settings[0].location_preference: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
module.app_dbs.google_sql_database_instance.app: Creating...
2020/02/12 14:36:37 [DEBUG] module.app_dbs.google_sql_database_instance.app: applying the planned Create change
2020-02-12T14:36:37.378+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] setting computed for "settings.0.backup_configuration" from ComputedKeys
2020-02-12T14:36:37.378+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] setting computed for "settings.0.location_preference" from ComputedKeys
2020-02-12T14:36:37.378+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] setting computed for "settings.0.ip_configuration" from ComputedKeys
2020-02-12T14:36:37.378+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] setting computed for "settings.0.backup_configuration" from ComputedKeys
2020-02-12T14:36:37.378+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] setting computed for "settings.0.location_preference" from ComputedKeys
2020-02-12T14:36:37.378+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] setting computed for "settings.0.ip_configuration" from ComputedKeys
2020-02-12T14:36:37.378+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] setting computed for "settings.0.backup_configuration" from ComputedKeys
2020-02-12T14:36:37.378+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] setting computed for "settings.0.location_preference" from ComputedKeys
2020-02-12T14:36:37.378+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] setting computed for "settings.0.ip_configuration" from ComputedKeys
2020-02-12T14:36:37.378+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] setting computed for "settings.0.location_preference" from ComputedKeys
2020-02-12T14:36:37.378+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] setting computed for "settings.0.ip_configuration" from ComputedKeys
2020-02-12T14:36:37.378+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] setting computed for "settings.0.backup_configuration" from ComputedKeys
2020-02-12T14:36:37.378+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] setting computed for "ip_address" from ComputedKeys
2020-02-12T14:36:37.378+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] setting computed for "server_ca_cert" from ComputedKeys
2020-02-12T14:36:37.378+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] Locking "google-sql-database-instance-production-267414-app-master"
2020-02-12T14:36:37.378+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] Locked "google-sql-database-instance-production-267414-app-master"
2020-02-12T14:36:37.378+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] Waiting for state to become: [success]
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:37 [DEBUG] Google API Request Details:
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: ---[ REQUEST ]---------------------------------------
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: POST /sql/v1beta4/projects/production-267414/instances?alt=json&prettyPrint=false HTTP/1.1
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: Host: www.googleapis.com
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: User-Agent: google-api-go-client/0.5 HashiCorp Terraform/0.12.20 (+https://www.terraform.io) Terraform Plugin SDK/1.4.0 terraform-provider-google/3.7.0
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: Content-Length: 324
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: Content-Type: application/json
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: X-Goog-Api-Client: gl-go/1.11.0 gdcl/20191016
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: Accept-Encoding: gzip
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5:
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: {
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "databaseVersion": "POSTGRES_9_6",
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "masterInstanceName": "app-master",
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "name": "app-db",
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "region": "europe-west1",
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "replicaConfiguration": {
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "mysqlReplicaConfiguration": {
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "password": "toto",
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "username": "readonly"
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: }
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: },
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "settings": {
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "pricingPlan": "PER_USE",
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "replicationType": "SYNCHRONOUS",
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "storageAutoResize": true,
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "tier": "db-custom-2-7680"
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: }
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: }
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5:
2020-02-12T14:36:37.379+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: -----------------------------------------------------
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Authenticating using configured Google JSON 'credentials'...
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email]
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating GCE client for path https://www.googleapis.com/compute/beta/projects/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating GCE Beta client for path https://www.googleapis.com/compute/beta/projects/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating GKE client for path https://container.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating GKE Beta client for path https://container.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud DNS client for path https://www.googleapis.com/dns/v1beta2/projects/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud DNS Beta client for path https://www.googleapis.com/dns/v1beta2/projects/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud KMS client for path https://cloudkms.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Stackdriver Logging client for path https://logging.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Storage client for path https://www.googleapis.com/storage/v1/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google SqlAdmin client for path https://www.googleapis.com/sql/v1beta4/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Pubsub client for path https://pubsub.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Dataflow client for path https://dataflow.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud ResourceManager client for path https://cloudresourcemanager.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud ResourceManager V client for path https://cloudresourcemanager.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Runtimeconfig client for path https://runtimeconfig.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud IAM client for path https://iam.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud IAMCredentials client for path https://iamcredentials.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating IAP client for path https://iap.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Service Management client for path https://servicemanagement.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Service Usage client for path https://serviceusage.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Billing client for path https://cloudbilling.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Build client for path https://cloudbuild.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud BigQuery client for path https://www.googleapis.com/bigquery/v2/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud CloudFunctions Client for path https://cloudfunctions.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud BigtableAdmin for path https://bigtableadmin.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Source Repo client for path https://sourcerepo.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Spanner client for path https://spanner.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Dataproc client for path https://dataproc.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Dataproc Beta client for path https://dataproc.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Filestore client for path https://file.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud IoT Core client for path https://cloudiot.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating App Engine client for path https://appengine.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Cloud Composer client for path https://composer.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Service Networking client for path https://servicenetworking.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Storage Transfer client for path https://storagetransfer.googleapis.com/
2020-02-12T14:36:37.424+0100 [DEBUG] plugin.terraform-provider-google-beta_v3.7.0_x5: 2020/02/12 14:36:37 [INFO] Instantiating Google Cloud Healthcare client for path https://healthcare.googleapis.com/
2020-02-12T14:36:37.427+0100 [DEBUG] plugin: plugin process exited: path=/Users/gabin/src/github.com/inato/infrastructure/terraform/production/.terraform/plugins/darwin_amd64/terraform-provider-google-beta_v3.7.0_x5 pid=9784
2020-02-12T14:36:37.427+0100 [DEBUG] plugin: plugin exited
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:38 [DEBUG] Google API Response Details:
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: ---[ RESPONSE ]--------------------------------------
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: HTTP/2.0 403 Forbidden
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: Alt-Svc: quic=":443"; ma=2592000; v="46,43",h3-Q050=":443"; ma=2592000,h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: Cache-Control: private
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: Content-Type: application/json; charset=UTF-8
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: Date: Wed, 12 Feb 2020 13:36:37 GMT
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: Server: ESF
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: Vary: Origin
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: Vary: X-Origin
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: Vary: Referer
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: X-Content-Type-Options: nosniff
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: X-Frame-Options: SAMEORIGIN
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: X-Xss-Protection: 0
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5:
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: {
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "error": {
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "code": 403,
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "message": "The client is not authorized to make this request.",
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "errors": [
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: {
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "message": "The client is not authorized to make this request.",
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "domain": "global",
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: "reason": "notAuthorized"
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: }
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: ]
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: }
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: }
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5:
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: -----------------------------------------------------
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:38 [DEBUG] Unlocking "google-sql-database-instance-production-267414-app-master"
2020-02-12T14:36:38.024+0100 [DEBUG] plugin.terraform-provider-google_v3.7.0_x5: 2020/02/12 14:36:38 [DEBUG] Unlocked "google-sql-database-instance-production-267414-app-master"
2020/02/12 14:36:38 [DEBUG] module.app_dbs.google_sql_database_instance.app: apply errored, but we're indicating that via the Error pointer rather than returning it: Error, failed to create instance app-db: googleapi: Error 403: The client is not authorized to make this request., notAuthorized
2020/02/12 14:36:38 [ERROR] module.app_dbs: eval: *terraform.EvalApplyPost, err: Error, failed to create instance app-db: googleapi: Error 403: The client is not authorized to make this request., notAuthorized
2020/02/12 14:36:38 [ERROR] module.app_dbs: eval: *terraform.EvalSequence, err: Error, failed to create instance app-db: googleapi: Error 403: The client is not authorized to make this request., notAuthorized
Error: Error, failed to create instance app-db: googleapi: Error 403: The client is not authorized to make this request., notAuthorized
on ../modules/app-dbs/main.tf line 1, in resource "google_sql_database_instance" "app":
1: resource "google_sql_database_instance" "app" {
2020-02-12T14:36:38.335+0100 [DEBUG] plugin: plugin process exited: path=/Users/gabin/src/github.com/inato/infrastructure/terraform/production/.terraform/plugins/darwin_amd64/terraform-provider-google_v3.7.0_x5 pid=9783
2020-02-12T14:36:38.335+0100 [DEBUG] plugin: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment