resource "aws_subnet" "public_subnet" {
count = "${length(var.public_subnets)}"
vpc_id = "${aws_vpc.vpc.id}"
cidr_block = "${lookup(var.public_subnets, element(data.aws_availability_zones.available.names, count.index))}"
availability_zone = "${element(data.aws_availability_zones.available.names, count.index)}"
map_public_ip_on_launch = true
}
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/ca75a33d-c0aa-499e-9a2a-b2bb116c9075%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
terraform version
Terraform v0.11.5
+ provider.aws v1.14.1terraform import module.network.aws_subnet.public_subnet[0]subnet-xxxxxx
zsh: no matches found: module.network.aws_subnet.public_subnet[0]To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/6ee39844-6b54-440a-ba02-52a69c9a6f7c%40googlegroups.com.