-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert " add support for IAM Group authentication to google_sql_user (#…
…9578)" (#9595) (#16726) This reverts commit 05c4410. [upstream:ec7eec622d9aefb7c3d490dc9c3df02209cd8ea0] Signed-off-by: Modular Magician <[email protected]>
- Loading branch information
1 parent
a95e84a
commit eff923c
Showing
4 changed files
with
6 additions
and
35 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:none | ||
|
||
``` |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,24 +72,6 @@ resource "google_sql_user" "iam_service_account_user" { | |
instance = google_sql_database_instance.main.name | ||
type = "CLOUD_IAM_SERVICE_ACCOUNT" | ||
} | ||
resource "google_sql_user" "iam_group" { | ||
name = "[email protected]" | ||
instance = google_sql_database_instance.main.name | ||
type = "CLOUD_IAM_GROUP" | ||
} | ||
resource "google_sql_user" "iam_group_user" { | ||
name = "[email protected]" | ||
instance = google_sql_database_instance.main.name | ||
type = "CLOUD_IAM_GROUP_USER" | ||
} | ||
resource "google_sql_user" "iam_group_service_account_user" { | ||
name = "[email protected]" | ||
instance = google_sql_database_instance.main.name | ||
type = "CLOUD_IAM_GROUP_SERVICE_ACCOUNT" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
@@ -109,8 +91,7 @@ The following arguments are supported: | |
|
||
* `type` - (Optional) The user type. It determines the method to authenticate the | ||
user during login. The default is the database's built-in user type. Flags | ||
include "BUILT_IN", "CLOUD_IAM_USER", "CLOUD_IAM_SERVICE_ACCOUNT", | ||
"CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" or "CLOUD_IAM_GROUP_SERVICE_ACCOUNT". | ||
include "BUILT_IN", "CLOUD_IAM_USER", or "CLOUD_IAM_SERVICE_ACCOUNT". | ||
|
||
* `deletion_policy` - (Optional) The deletion policy for the user. | ||
Setting `ABANDON` allows the resource to be abandoned rather than deleted. This is useful | ||
|