-
Notifications
You must be signed in to change notification settings - Fork 10.3k
panic in function implementation: must not call MapVal with empty map #25303
Copy link
Copy link
Closed
zclconf/go-cty
#58Description
Terraform Version
Terraform v0.13.0-beta2
Terraform Configuration Files
module "client_vpc" {
source = "terraform-aws-modules/vpc/aws"
name = "clients"
azs = ["us-east-1a", "us-east-1b", "us-east-1c"]
cidr = "10.3.0.0/16"
public_subnets = ["10.3.0.0/24", "10.3.1.0/24", "10.3.2.0/24"]
private_subnets = ["10.3.100.0/22", "10.3.104.0/22", "10.3.108.0/22"]
enable_dns_hostnames = true
enable_flow_log = true
flow_log_traffic_type = "REJECT"
create_flow_log_cloudwatch_iam_role = true
create_flow_log_cloudwatch_log_group = true
flow_log_cloudwatch_log_group_retention_in_days = 14
flow_log_cloudwatch_log_group_name_prefix = "/aws/vpc-flow-logs/"
}Debug Output
Crash Output
https://gist.github.com/ipmb/fcac64a32f0cac1d50d59062dbaca21e
Expected Behavior
Not crash :)
Actual Behavior
Panic
Steps to Reproduce
terraform plan
Additional Context
References
Reactions are currently unavailable