terraform-google-modules / terraform-google-iam

Manages multiple IAM roles for resources on Google Cloud
https://registry.terraform.io/modules/terraform-google-modules/iam/google
Apache License 2.0
197 stars 171 forks source link

Error: Error in function call #87

Closed mittalsharad closed 3 years ago

mittalsharad commented 4 years ago

For Module storage_bucket IAM, when i am trying to run this script in my cloud shell, it is showing the following errors:Error: Error in function call

I ran the script like this:

terraform apply

var.bindings

Map of role (key) and list of members (value) to add the IAM policies/bindings

Enter a value: {"storage.objectViewer"=["user:sample@gmail.com"]}

Error: Error in function call

on ../helper/main.tf line 80, in locals:

80: ? zipmap(local.keys_additive, local.bindings_by_member)

|----------------

| local.bindings_by_member is empty list of dynamic

| local.keys_additive is list of string with 1 element

Call to function "zipmap" failed: number of keys (1) does not match number of

values (0).

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days