Skip to content

Commit

Permalink
Allow AUTH_TYPE_UNSPECIFIED in auth config for connection (#12629) (#…
Browse files Browse the repository at this point in the history
…20782)

[upstream:5fdcb6ef8f1b6fa149a8062dd386e23236bd26bd]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Dec 23, 2024
1 parent 55a7b68 commit 4c2ca7d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .changelog/12629.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
integrationconnectors: allowed `AUTH_TYPE_UNSPECIFIED` option in `google_integration_connectors_connection` resource to support non-standard auth types
```
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ func ResourceIntegrationConnectorsConnection() *schema.Resource {
"auth_type": {
Type: schema.TypeString,
Required: true,
ValidateFunc: verify.ValidateEnum([]string{"USER_PASSWORD", "OAUTH2_JWT_BEARER", "OAUTH2_CLIENT_CREDENTIALS", "SSH_PUBLIC_KEY", "OAUTH2_AUTH_CODE_FLOW"}),
Description: `authType of the Connection Possible values: ["USER_PASSWORD", "OAUTH2_JWT_BEARER", "OAUTH2_CLIENT_CREDENTIALS", "SSH_PUBLIC_KEY", "OAUTH2_AUTH_CODE_FLOW"]`,
ValidateFunc: verify.ValidateEnum([]string{"AUTH_TYPE_UNSPECIFIED", "USER_PASSWORD", "OAUTH2_JWT_BEARER", "OAUTH2_CLIENT_CREDENTIALS", "SSH_PUBLIC_KEY", "OAUTH2_AUTH_CODE_FLOW"}),
Description: `authType of the Connection Possible values: ["AUTH_TYPE_UNSPECIFIED", "USER_PASSWORD", "OAUTH2_JWT_BEARER", "OAUTH2_CLIENT_CREDENTIALS", "SSH_PUBLIC_KEY", "OAUTH2_AUTH_CODE_FLOW"]`,
},
"additional_variable": {
Type: schema.TypeList,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ The following arguments are supported:
* `auth_type` -
(Required)
authType of the Connection
Possible values are: `USER_PASSWORD`, `OAUTH2_JWT_BEARER`, `OAUTH2_CLIENT_CREDENTIALS`, `SSH_PUBLIC_KEY`, `OAUTH2_AUTH_CODE_FLOW`.
Possible values are: `AUTH_TYPE_UNSPECIFIED`, `USER_PASSWORD`, `OAUTH2_JWT_BEARER`, `OAUTH2_CLIENT_CREDENTIALS`, `SSH_PUBLIC_KEY`, `OAUTH2_AUTH_CODE_FLOW`.

* `additional_variable` -
(Optional)
Expand Down

0 comments on commit 4c2ca7d

Please sign in to comment.