How can I correct a Terraform, Error: Incorrect attribute value type error?
Here is a the snippets of relevant code: resource "aws_vpc" "main" { cidr_block = "10.0.0.0/16" } data "aws_availability_zones" "available" { state = "available" } resource "aws_subnet" "private_subnet" { count = length(data.aws_availability_zones.available.names) vpc_id = aws_vpc.main.id cidr_block = "10.0.${20+count.index}.0/24" availability_zone = data.aws_availability_zones.available.names[count.index]…