Skip to content

Switching map to tomap for TF v1.4.7#7

Open
danielgoff wants to merge 3 commits intoterraform_version_0.12.xfrom
terraform-v147-tomap
Open

Switching map to tomap for TF v1.4.7#7
danielgoff wants to merge 3 commits intoterraform_version_0.12.xfrom
terraform-v147-tomap

Conversation

@danielgoff
Copy link
Copy Markdown

WHAT
Updating map to use tomap.

WHY
Upgrading staging API to TF version 1.4.7 causes this output in the plan:

Error: Error in function call
│
│   on .terraform/modules/us_west1_urbncat_celery_mig/main.tf line 63, in resource "google_compute_instance_template" "default":
│   63:     map("startup-script", var.startup_script, "tf_depends_id", var.depends_id),
│     ├────────────────
│     │ while calling map(vals...)
│
│ 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.

@danielgoff danielgoff closed this Apr 8, 2024
@danielgoff danielgoff reopened this Apr 8, 2024
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