Closed mittalsharad closed 3 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).
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
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)
Call to function "zipmap" failed: number of keys (1) does not match number of
values (0).