Skip to content

Commit

Permalink
Remove data "aws_subnet_ids". It's not used and breaks on new VPCs …
Browse files Browse the repository at this point in the history
…without existing subnets (#7)
  • Loading branch information
aknysh authored Aug 17, 2017
1 parent 9c3b126 commit 9c41cf1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,3 @@ provider "aws" {
data "aws_vpc" "default" {
id = "${var.vpc_id}"
}

# Get all subnets from the VPC
data "aws_subnet_ids" "all" {
vpc_id = "${data.aws_vpc.default.id}"
}

0 comments on commit 9c41cf1

Please sign in to comment.