Skip to content

alloydb: marked google_alloydb_user.password as sensitive #21014

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/12838.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
alloydb: marked `google_alloydb_user.password` as sensitive
```
1 change: 1 addition & 0 deletions google/services/alloydb/resource_alloydb_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ func ResourceAlloydbUser() *schema.Resource {
Type: schema.TypeString,
Optional: true,
Description: `Password for this database user.`,
Sensitive: true,
},
"name": {
Type: schema.TypeString,
Expand Down
5 changes: 5 additions & 0 deletions website/docs/r/alloydb_user.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ To get more information about User, see:
* How-to Guides
* [AlloyDB](https://cloud.google.com/alloydb/docs/)

~> **Warning:** All arguments including the following potentially sensitive
values will be stored in the raw state as plain text: `password`.
[Read more about sensitive data in state](https://www.terraform.io/language/state/sensitive-data).

## Example Usage - Alloydb User Builtin


Expand Down Expand Up @@ -161,6 +165,7 @@ The following arguments are supported:
* `password` -
(Optional)
Password for this database user.
**Note**: This property is sensitive and will not be displayed in the plan.

* `database_roles` -
(Optional)
Expand Down
Loading