Last active
March 10, 2023 07:13
-
-
Save kerma/a8b7269f8ad310d9c12fbcf8dea754c8 to your computer and use it in GitHub Desktop.
BUG in terraform-provider-google_v4.12.0_x5 - PROVIDER_UNSPECIFIED - INVALID_ARGUMENT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---[ REQUEST ]--------------------------------------- | |
POST /v1/projects/REDACTED/locations/europe-west3-a/clusters/REDACTED:setNetworkPolicy?alt=json&prettyPrint=false HTTP/1.1 | |
Host: container.googleapis.com | |
User-Agent: google-api-go-client/0.5 Terraform/1.1.6 (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google/dev | |
Content-Length: 69 | |
Content-Type: application/json | |
X-Goog-Api-Client: gl-go/1.16.14 gdcl/20220122 | |
Accept-Encoding: gzip | |
{ | |
"networkPolicy": { | |
"enabled": true, | |
"provider": "PROVIDER_UNSPECIFIED" | |
} | |
} | |
-----------------------------------------------------: timestamp=2022-03-09T15:47:07.798+0200 | |
2022-03-09T15:47:07.887+0200 [INFO] provider.terraform-provider-google_v4.12.0_x5: 2022/03/09 15:47:07 [DEBUG] Google API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 400 Bad Request | |
Alt-Svc: h3=":443"; ma=2592000,h3-29=":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" | |
Cache-Control: private | |
Content-Type: application/json; charset=UTF-8 | |
Date: Wed, 09 Mar 2022 13:47:07 GMT | |
Server: ESF | |
Vary: Origin | |
Vary: X-Origin | |
Vary: Referer | |
X-Content-Type-Options: nosniff | |
X-Frame-Options: SAMEORIGIN | |
X-Xss-Protection: 0 | |
{ | |
"error": { | |
"code": 400, | |
"message": "Invalid network policy provider.", | |
"errors": [ | |
{ | |
"message": "Invalid network policy provider.", | |
"domain": "global", | |
"reason": "badRequest" | |
} | |
], | |
"status": "INVALID_ARGUMENT" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment