Hello, we are sorry but there has been a error processing your terraform scripts. See below
╷
│ Warning: Provider development overrides are in effect
│
│ The following provider development overrides are set in the CLI
│ configuration:
│ - hashicorp/aws in /Users/srimanthduggineni/go/bin
│
│ The behavior may therefore not match any released version of the provider
│ and applying changes may cause the state to become incompatible with
│ published releases.
╵
╷
│ Error: Not enough list items
│
│ with module.tgw.aws_ec2_transit_gateway_vpc_attachment.this["vpc2"],
│ on ../../main.tf line 104, in resource "aws_ec2_transit_gateway_vpc_attachment" "this":
│ 104: subnet_ids = each.value["subnet_ids"]
│
│ Attribute requires 1 item minimum, but config has only 0 declared.
╵
╷
│ Error: Not enough list items
│
│ with module.tgw.aws_ec2_transit_gateway_vpc_attachment.this["vpc1"],
│ on ../../main.tf line 104, in resource "aws_ec2_transit_gateway_vpc_attachment" "this":
│ 104: subnet_ids = each.value["subnet_ids"]
│
│ Attribute requires 1 item minimum, but config has only 0 declared.
╵