aws-samples/aws-waf-firewall-manager-terraform

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

Opened this issue · 0 comments

│ Error: Error in function call

│ on modules\vpc\3-flow-logs.tf line 37, in resource "aws_cloudwatch_log_group" "flow_log":
│ 37: map(
│ 38: "Purpose", "VPC Flow Log CloudWatch Log Group for ${var.vpc_name}"
│ 39: )
│ ├────────────────
│ │ while calling map(vals...)
│ │ var.vpc_name is a string

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


│ Error: Error in function call

│ on modules\vpc\3-flow-logs.tf line 37, in resource "aws_cloudwatch_log_group" "flow_log":
│ 37: map(
│ 38: "Purpose", "VPC Flow Log CloudWatch Log Group for ${var.vpc_name}"
│ 39: )
│ ├────────────────
│ │ while calling map(vals...)
│ │ var.vpc_name is a string

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


│ Error: Error in function call

│ on modules\vpc\3-flow-logs.tf line 68, in resource "aws_iam_role" "vpc_flow_log_iam_role":
│ 68: map(
│ 69: "Purpose", "IAM role to allow VPC Flow Logs to publish to CloudWatch Logs"
│ 70: )
│ ├────────────────
│ │ 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.


│ Error: Error in function call

│ on modules\vpc\3-flow-logs.tf line 68, in resource "aws_iam_role" "vpc_flow_log_iam_role":
│ 68: map(
│ 69: "Purpose", "IAM role to allow VPC Flow Logs to publish to CloudWatch Logs"
│ 70: )
│ ├────────────────
│ │ 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.