From b240eb8cd9bc88c250867b355077bb88f4a7fbff Mon Sep 17 00:00:00 2001 From: Dave Kerr Date: Wed, 3 Apr 2019 11:01:52 +0800 Subject: [PATCH] fix: resolve VPC issue which appears in the latest AWS provider. Fixes #83. --- modules/openshift/07-dns.tf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/openshift/07-dns.tf b/modules/openshift/07-dns.tf index 95f6088..bd3fd76 100644 --- a/modules/openshift/07-dns.tf +++ b/modules/openshift/07-dns.tf @@ -5,7 +5,9 @@ resource "aws_route53_zone" "internal" { name = "openshift.local" comment = "OpenShift Cluster Internal DNS" - vpc_id = "${aws_vpc.openshift.id}" + vpc { + vpc_id = "${aws_vpc.openshift.id}" + } tags { Name = "OpenShift Internal DNS" Project = "openshift"