Skip to content

Commit

Permalink
maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jul 30, 2024
1 parent 80ed38c commit b85324f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dns_zones.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ provider "aws" {
# dummy vpc, so we can associate the zone to this account
#---
data "aws_vpc" "dummy_vpc" {
provider = aws
provider = aws.self
depends_on = [aws_vpc.vpc]
count = !(var.shared_vpc_label == null || var.shared_vpc_label == "") ? 1 : 0
filter {
Expand All @@ -53,7 +53,7 @@ data "aws_vpc" "dummy_vpc" {

## Dummy VPC
resource "aws_vpc" "vpc" {
provider = aws
provider = aws.self
cidr_block = "192.168.0.0/24"
enable_dns_support = false
enable_dns_hostnames = false
Expand All @@ -74,7 +74,7 @@ data "aws_route53_zone" "zones" {
}

resource "aws_route53_zone" "cluster_domain" {
provider = aws
provider = aws.self
name = local.cluster_domain_name
comment = local.cluster_domain_description
force_destroy = false
Expand Down

0 comments on commit b85324f

Please sign in to comment.