Skip to content

Conversation

RohanRusta21
Copy link

Hi @iam-veeramalla ,

Solved Issue :

Error: Error in function call

│ on main.tf line 26, in output "my_map":
│ 26: value = map(var.keys, var.values) # Returns {"name" = "Alice", "age" = 30}
│ ├────────────────
│ │ while calling map(vals...)
│ │ var.keys is a list of dynamic
│ │ var.values is a list of dynamic

│ Call to function "map" failed: the "map" function was deprecated in Terraform v0.12 and is no longer available; use tomap({ ... }) syntax to write a literal map.

Please review and approve it :)

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant