diff --git a/README.md b/README.md
index 0baae32..cf7d1ad 100644
--- a/README.md
+++ b/README.md
@@ -95,7 +95,7 @@ No resources.
| [group\_settings](#input\_group\_settings) | contains all defined group setting templates for Google Groups | n/a | yes |
| [groups](#input\_groups) | contains objects representing all defined Google Groups | n/a | yes |
| [users](#input\_users) | contains objects representing all defined Google Users | n/a | yes |
-| [random\_password](#input\_random\_password) | contains a random password required for Users | `null` | no |
+| [password](#input\_password) | contains a given password required for Users | `null` | no |
| [users\_external](#input\_users\_external) | contains objects representing all defined external Users | `{}` | no |
## Outputs
diff --git a/main.tf b/main.tf
index 39e7bca..40527a2 100644
--- a/main.tf
+++ b/main.tf
@@ -51,8 +51,8 @@ module "users" {
providers = {
googleworkspace = googleworkspace
}
- user = each.value
- random_password = var.random_password
+ user = each.value
+ password = var.password
}
module "users_external_to_groups" {
diff --git a/modules/users/main.tf b/modules/users/main.tf
index 4d370de..6b8cbb9 100644
--- a/modules/users/main.tf
+++ b/modules/users/main.tf
@@ -17,7 +17,7 @@ resource "googleworkspace_user" "user" {
family_name = var.user.family_name
given_name = var.user.given_name
}
- password = var.user.password != null ? var.user.password : var.random_password
+ password = var.user.password != null ? var.user.password : var.password
aliases = var.user.aliases
archived = var.user.archived
diff --git a/modules/users/variables.tf b/modules/users/variables.tf
index d27bd9a..044e4fc 100644
--- a/modules/users/variables.tf
+++ b/modules/users/variables.tf
@@ -21,8 +21,8 @@ variable "user" {
})
}
-variable "random_password" {
- description = "contains a random password required for Users"
+variable "password" {
+ description = "contains a given password required for Users"
type = string
default = null
}
diff --git a/variables.tf b/variables.tf
index 030c172..dd56149 100644
--- a/variables.tf
+++ b/variables.tf
@@ -59,8 +59,8 @@ variable "users" {
}))
}
-variable "random_password" {
- description = "contains a random password required for Users"
+variable "password" {
+ description = "contains a given password required for Users"
type = string
default = null
}