Change type of iam_bindings variable to allow multiple conditional bindings (#1658)

* modules

* fast

* dns readme
This commit is contained in:
Ludovico Magnocavallo
2023-09-08 08:56:31 +02:00
committed by GitHub
parent 63bf9eccc8
commit ec3b705f53
32 changed files with 153 additions and 144 deletions

View File

@@ -51,9 +51,10 @@ variable "iam" {
}
variable "iam_bindings" {
description = "Authoritative IAM bindings in {ROLE => {members = [], condition = {}}}."
description = "Authoritative IAM bindings in {KEY => {role = ROLE, members = [], condition = {}}}. Keys are arbitrary."
type = map(object({
members = list(string)
role = string
condition = optional(object({
expression = string
title = string