Update folder and service account READMEs

This commit is contained in:
Julio Castillo 2020-10-29 23:54:40 +01:00
parent 78efb63b4a
commit 1a7b9836ea
2 changed files with 1 additions and 3 deletions

View File

@ -14,7 +14,6 @@ module "folder" {
iam_members = {
"roles/owner" = ["group:users@example.com"]
}
iam_roles = ["roles/owner"]
}
```

View File

@ -6,12 +6,11 @@ This module allows simplified creation and management of one a service account a
```hcl
module "myproject-default-service-accounts" {
source = "./modules/iam-service-accounts"
source = "./modules/iam-service-account"
project_id = "myproject"
name = "vm-default"
generate_key = true
# authoritative roles granted *on* the service accounts to other identities
iam_roles = ["roles/iam.serviceAccountUser"]
iam_members = {
"roles/iam.serviceAccountUser" = ["user:foo@example.com"]
}