You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
╷
│ Error: Error in function call
│
│ on .terraform/modules/camellia-image/main.tf line 360, in resource "aws_codebuild_project" "packer":
│ 360: for_each = local.is_vpc_provided ? map(var.vpc_id, var.subnet_ids) : {}
│ ├────────────────
│ │ var.subnet_ids is list of string with 3 elements
│ │ var.vpc_id is "vpc-xxxxxxxx"
│
│ 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.
╵
ERRO[0039] 1 error occurred:
* exit status 1
I tried just changing to tomap but that did not work
The text was updated successfully, but these errors were encountered:
╷
│ Error: Too many function arguments
│
│ on .terraform/modules/camellia-image/main.tf line 360, in resource "aws_codebuild_project" "packer":
│ 360: for_each = local.is_vpc_provided ? tomap(var.vpc_id, var.subnet_ids) : {}
│ ├────────────────
│ │ var.subnet_ids is list of string with 3 elements
│ │ var.vpc_id is "vpc-0bf8b798434eb3961"
│
│ Function "tomap" expects only 1 argument(s).
╵
Releasing state lock. This may take a few moments...
ERRO[0039] 1 error occurred:
* exit status 1
I tried just changing to
tomap
but that did not workThe text was updated successfully, but these errors were encountered: