provider/aws: fixing tests
This commit is contained in:
parent
7b85fde0e4
commit
be1ae66d86
|
@ -111,8 +111,16 @@ resource "aws_subnet" "foo" {
|
||||||
cidr_block = "10.1.1.0/24"
|
cidr_block = "10.1.1.0/24"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "aws_internet_gateway" "foo" {
|
||||||
|
vpc_id = "${aws_vpc.foo.id}"
|
||||||
|
}
|
||||||
|
|
||||||
resource "aws_route_table" "foo" {
|
resource "aws_route_table" "foo" {
|
||||||
vpc_id = "${aws_vpc.foo.id}"
|
vpc_id = "${aws_vpc.foo.id}"
|
||||||
|
route {
|
||||||
|
cidr_block = "10.0.0.0/8"
|
||||||
|
gateway_id = "${aws_internet_gateway.foo.id}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_route_table_association" "foo" {
|
resource "aws_route_table_association" "foo" {
|
||||||
|
@ -131,8 +139,16 @@ resource "aws_subnet" "foo" {
|
||||||
cidr_block = "10.1.1.0/24"
|
cidr_block = "10.1.1.0/24"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "aws_internet_gateway" "foo" {
|
||||||
|
vpc_id = "${aws_vpc.foo.id}"
|
||||||
|
}
|
||||||
|
|
||||||
resource "aws_route_table" "bar" {
|
resource "aws_route_table" "bar" {
|
||||||
vpc_id = "${aws_vpc.foo.id}"
|
vpc_id = "${aws_vpc.foo.id}"
|
||||||
|
route {
|
||||||
|
cidr_block = "10.0.0.0/8"
|
||||||
|
gateway_id = "${aws_internet_gateway.foo.id}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_route_table_association" "foo" {
|
resource "aws_route_table_association" "foo" {
|
||||||
|
|
Loading…
Reference in New Issue