Skip to content

Commit aae0c53

Browse files
Remove validation from authConfigs in integration connector's connection resource. (#14392) (#23429)
[upstream:c608b235de428961edbb11355221f0d78fa4d504] Signed-off-by: Modular Magician <[email protected]>
1 parent fc952e8 commit aae0c53

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.changelog/14392.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
integrationconnectors: remove validation from authConfigs in `google_integration_connectors_connection`
3+
```

google/services/integrationconnectors/resource_integration_connectors_connection.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ format as: projects/*/secrets/*/versions/*.`,
228228
},
229229
},
230230
},
231-
ExactlyOneOf: []string{"auth_config.0.user_password", "auth_config.0.oauth2_jwt_bearer", "auth_config.0.oauth2_client_credentials", "auth_config.0.ssh_public_key", "auth_config.0.oauth2_auth_code_flow"},
232231
},
233232
"oauth2_client_credentials": {
234233
Type: schema.TypeList,
@@ -260,7 +259,6 @@ format as: projects/*/secrets/*/versions/*.`,
260259
},
261260
},
262261
},
263-
ExactlyOneOf: []string{"auth_config.0.user_password", "auth_config.0.oauth2_jwt_bearer", "auth_config.0.oauth2_client_credentials", "auth_config.0.ssh_public_key", "auth_config.0.oauth2_auth_code_flow"},
264262
},
265263
"oauth2_jwt_bearer": {
266264
Type: schema.TypeList,
@@ -314,7 +312,6 @@ format as: projects/*/secrets/*/versions/*.`,
314312
},
315313
},
316314
},
317-
ExactlyOneOf: []string{"auth_config.0.user_password", "auth_config.0.oauth2_jwt_bearer", "auth_config.0.oauth2_client_credentials", "auth_config.0.ssh_public_key", "auth_config.0.oauth2_auth_code_flow"},
318315
},
319316
"ssh_public_key": {
320317
Type: schema.TypeList,
@@ -367,7 +364,6 @@ format as: projects/*/secrets/*/versions/*.`,
367364
},
368365
},
369366
},
370-
ExactlyOneOf: []string{"auth_config.0.user_password", "auth_config.0.oauth2_jwt_bearer", "auth_config.0.oauth2_client_credentials", "auth_config.0.ssh_public_key", "auth_config.0.oauth2_auth_code_flow"},
371367
},
372368
"user_password": {
373369
Type: schema.TypeList,
@@ -399,7 +395,6 @@ format as: projects/*/secrets/*/versions/*.`,
399395
},
400396
},
401397
},
402-
ExactlyOneOf: []string{"auth_config.0.user_password", "auth_config.0.oauth2_jwt_bearer", "auth_config.0.oauth2_client_credentials", "auth_config.0.ssh_public_key", "auth_config.0.oauth2_auth_code_flow"},
403398
},
404399
},
405400
},

0 commit comments

Comments
 (0)