Skip to content

Instantly share code, notes, and snippets.

@abergmeier
Created December 30, 2020 12:10
Show Gist options
  • Save abergmeier/485d42409eefe721271229e1a9383b39 to your computer and use it in GitHub Desktop.
Save abergmeier/485d42409eefe721271229e1a9383b39 to your computer and use it in GitHub Desktop.
Terraform error
2020-12-30T13:05:59.759+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: ---[ REQUEST ]---------------------------------------
2020-12-30T13:05:59.759+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: GET /v1/services/servicenetworking.googleapis.com/connections?alt=json&network=projects%2F<redacted>%2Fglobal%2Fnetworks%2Fvpn-peer&prettyPrint=false HTTP/1.1
2020-12-30T13:05:59.759+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Host: servicenetworking.googleapis.com
2020-12-30T13:05:59.759+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: User-Agent: google-api-go-client/0.5 HashiCorp Terraform/0.13.4 (+https://www.terraform.io) Terraform Plugin SDK/1.11.0 terraform-provider-google/3.38.0
2020-12-30T13:05:59.759+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: X-Goog-Api-Client: gl-go/1.14.5 gdcl/20200707
2020-12-30T13:05:59.759+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Accept-Encoding: gzip
2020-12-30T13:05:59.759+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5:
2020-12-30T13:05:59.759+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5:
2020-12-30T13:05:59.759+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: -----------------------------------------------------
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: 2020/12/30 13:06:00 [DEBUG] Google API Response Details:
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: ---[ RESPONSE ]--------------------------------------
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: HTTP/1.1 400 Bad Request
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Connection: close
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Transfer-Encoding: chunked
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Cache-Control: private
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Content-Type: application/json; charset=UTF-8
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Date: Wed, 30 Dec 2020 12:06:00 GMT
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Server: ESF
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Vary: Origin
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Vary: X-Origin
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Vary: Referer
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: X-Content-Type-Options: nosniff
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: X-Frame-Options: SAMEORIGIN
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: X-Xss-Protection: 0
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5:
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: 112
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: {
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: "error": {
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: "code": 400,
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: "message": "Precondition check failed.",
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: "errors": [
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: {
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: "message": "Precondition check failed.",
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: "domain": "global",
2020-12-30T13:06:00.693+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: "reason": "failedPrecondition"
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: }
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: ],
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: "status": "FAILED_PRECONDITION"
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: }
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: }
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5:
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: 0
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5:
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5:
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: -----------------------------------------------------
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: 2020/12/30 13:06:00 [DEBUG] Retry Transport: Stopping retries, last request failed with non-retryable error: googleapi: got HTTP response code 400 with body: HTTP/1.1 400 Bad Request
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Connection: close
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Transfer-Encoding: chunked
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Cache-Control: private
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Content-Type: application/json; charset=UTF-8
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Date: Wed, 30 Dec 2020 12:06:00 GMT
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Server: ESF
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Vary: Origin
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Vary: X-Origin
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: Vary: Referer
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: X-Content-Type-Options: nosniff
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: X-Frame-Options: SAMEORIGIN
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: X-Xss-Protection: 0
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5:
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: 112
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: {
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: "error": {
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: "code": 400,
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: "message": "Precondition check failed.",
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: "errors": [
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: {
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: "message": "Precondition check failed.",
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: "domain": "global",
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: "reason": "failedPrecondition"
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: }
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: ],
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: "status": "FAILED_PRECONDITION"
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: }
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: }
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5:
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: 0
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5:
2020-12-30T13:06:00.694+0100 [DEBUG] plugin.terraform-provider-google_v3.38.0_x5: 2020/12/30 13:06:00 [DEBUG] Retry Transport: Returning after 1 attempts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment