Skip to content

Commit

Permalink
Merge pull request #21 from goci-io/initial
Browse files Browse the repository at this point in the history
update dns module and use force_destroy
  • Loading branch information
etwillbefine authored Sep 15, 2020
2 parents cd1868e + 58ed4c2 commit 0c5c569
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ locals {
}

module "zone" {
source = "git::https://github.com/goci-io/aws-route53-zone.git?ref=tags/0.5.2"
source = "git::https://github.com/goci-io/aws-route53-zone.git?ref=tags/0.6.0"
namespace = var.namespace
stage = var.stage
attributes = [var.region]
domain_name = var.domain_name
parent_domain_name = local.parent_domain
certificate_enabled = false
force_destroy = true
}

module "external_dns" {
Expand Down
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ output "issuer_name" {
}

output "domain_name" {
value = var.domain_name
value = module.zone.domain_name
}

output "hosted_zone_id" {
Expand Down

0 comments on commit 0c5c569

Please sign in to comment.