Skip to content

Commit

Permalink
Deprecate DNS options workaround TF011 (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
grem11n committed Nov 7, 2019
1 parent b920d4a commit 41c2085
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ resource "aws_vpc_peering_connection_options" "this" {
provider = "aws.this"
vpc_peering_connection_id = "${aws_vpc_peering_connection_accepter.peer_accepter.id}"

count = "${data.aws_region.this.name == data.aws_region.peer.name ? 1 : 0}"

requester {
allow_remote_vpc_dns_resolution = "${var.this_dns_resolution}"
allow_classic_link_to_remote_vpc = "${var.this_link_to_peer_classic}"
Expand All @@ -55,8 +53,6 @@ resource "aws_vpc_peering_connection_options" "accepter" {

vpc_peering_connection_id = "${aws_vpc_peering_connection_accepter.peer_accepter.id}"

count = "${data.aws_region.this.name == data.aws_region.peer.name ? 1 : 0}"

accepter {
allow_remote_vpc_dns_resolution = "${var.peer_dns_resolution}"
allow_classic_link_to_remote_vpc = "${var.peer_link_to_peer_classic}"
Expand Down

0 comments on commit 41c2085

Please sign in to comment.