From 41c2085bd2ab138cb0c90a8cb520fee6e448351f Mon Sep 17 00:00:00 2001 From: Yurii Rochniak Date: Thu, 7 Nov 2019 09:30:43 +0100 Subject: [PATCH] Deprecate DNS options workaround TF011 (#42) --- main.tf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main.tf b/main.tf index 762570f..acfe273 100644 --- a/main.tf +++ b/main.tf @@ -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}" @@ -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}"