Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in function call #46

Open
blakegreendev opened this issue Sep 30, 2021 · 0 comments
Open

Error in function call #46

blakegreendev opened this issue Sep 30, 2021 · 0 comments

Comments

@blakegreendev
Copy link

Terraform v1.0.7
on linux_amd64
Configuring remote state backend...
Initializing Terraform configuration...

│ Error: Error in function call

│ on .terraform/modules/irisadmin/admin/securitygroups.tf line 13, in resource "aws_security_group" "iris_adm":
│ 13: map("Name", format("${var.hostname_prefix}-iris-admin"))
│ ├────────────────
│ │ var.hostname_prefix is a string, known only after apply

│ 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.

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 a pull request may close this issue.

1 participant