Skip to content

Commit

Permalink
chore: fixed README (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
imrannayer authored Dec 8, 2023
1 parent 991c571 commit be9de1c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 25 deletions.
3 changes: 2 additions & 1 deletion modules/dns_zones_iam/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ This submodule is used to assign roles on DNS zones.
## Example Usage
```
module "dns_zones_iam_binding" {
source = "../../modules/dns_zones_iam/"
source = "terraform-google-modules/iam/google//modules/dns_zones_iam"
version = "~> 7.7"
project = var.project_id
managed_zones = [
google_dns_managed_zone.dns_zone_one.name,
Expand Down
19 changes: 7 additions & 12 deletions modules/tag_keys_iam/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Module DNS Zone IAM
# Module Tag Keys IAM

This submodule is used to assign roles on DNS zones.
This submodule is used to assign roles on Tag Keys.

## Example Usage
```
module "dns_zones_iam_binding" {
source = "../../modules/dns_zones_iam/"
project = var.project_id
managed_zones = [
google_dns_managed_zone.dns_zone_one.name,
module "tag_keys_iam_binding" {
source = "terraform-google-modules/iam/google//modules/tag_keys_iam"
version = "~> 7.7"
tag_keys = [
google_tags_tag_key.tag_key.name,
]
mode = "authoritative"
Expand All @@ -18,11 +18,6 @@ module "dns_zones_iam_binding" {
"group:${var.group_email}",
"user:${var.user_email}",
]
"roles/dns.reader" = [
"serviceAccount:${var.sa_email}",
"group:${var.group_email}",
"user:${var.user_email}",
]
}
}
```
Expand Down
19 changes: 7 additions & 12 deletions modules/tag_values_iam/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Module DNS Zone IAM
# Module Tag Values IAM

This submodule is used to assign roles on DNS zones.
This submodule is used to assign roles on Tag Values.

## Example Usage
```
module "dns_zones_iam_binding" {
source = "../../modules/dns_zones_iam/"
project = var.project_id
managed_zones = [
google_dns_managed_zone.dns_zone_one.name,
module "tag_keys_iam_binding" {
source = "terraform-google-modules/iam/google//modules/tag_values_iam"
version = "~> 7.7"
tag_values = [
google_tags_tag_value.tag_value.name,
]
mode = "authoritative"
Expand All @@ -18,11 +18,6 @@ module "dns_zones_iam_binding" {
"group:${var.group_email}",
"user:${var.user_email}",
]
"roles/dns.reader" = [
"serviceAccount:${var.sa_email}",
"group:${var.group_email}",
"user:${var.user_email}",
]
}
}
```
Expand Down

0 comments on commit be9de1c

Please sign in to comment.