Skip to content

Commit

Permalink
fix: Remove deprecated syntax (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanda authored Jan 19, 2021
1 parent 2507157 commit 8fb0abc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/custom_role_iam/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ locals {
*****************************************/
data "google_iam_role" "role_permissions" {
for_each = toset(var.base_roles)
name = "${each.value}"
name = each.value
}

/******************************************
Expand Down
2 changes: 1 addition & 1 deletion modules/pubsub_topics_iam/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module "pubsub_topic-iam-bindings" {

| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| bindings | Map of role (key) and list of members (value) to add the IAM policies/bindings | map | n/a | yes |
| bindings | Map of role (key) and list of members (value) to add the IAM policies/bindings | map(any) | n/a | yes |
| mode | Mode for adding the IAM policies/bindings, additive and authoritative | string | `"additive"` | no |
| project | Project to add the IAM policies/bindings | string | `""` | no |
| pubsub\_topics | PubSub Topics list to add the IAM policies/bindings | list(string) | `<list>` | no |
Expand Down
2 changes: 1 addition & 1 deletion modules/pubsub_topics_iam/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ variable "mode" {

variable "bindings" {
description = "Map of role (key) and list of members (value) to add the IAM policies/bindings"
type = map
type = map(any)
}

0 comments on commit 8fb0abc

Please sign in to comment.