Skip to content

Commit f41b8bb

Browse files
doc: fix wrong iam auth flag for sql_user (#12282) (#20240)
[upstream:25fe858a04f7610857396702254eed6d22fb09dd] Signed-off-by: Modular Magician <[email protected]>
1 parent 1faa15b commit f41b8bb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.changelog/12282.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
cloudsql: fixed example in doc using wrong iam auth flag for PostgresQL in `google_sql_user`
3+
```

website/docs/r/sql_user.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ resource "google_sql_database_instance" "main" {
5353
tier = "db-f1-micro"
5454
5555
database_flags {
56-
name = "cloudsql_iam_authentication"
56+
name = "cloudsql.iam_authentication"
5757
value = "on"
5858
}
5959
}
@@ -202,4 +202,4 @@ $ terraform import google_sql_user.default {{project_id}}/{{instance}}/{{host}}/
202202
203203
# PostgreSQL database
204204
$ terraform import google_sql_user.default {{project_id}}/{{instance}}/{{name}}
205-
```
205+
```

0 commit comments

Comments
 (0)