Skip to content

Commit 299a927

Browse files
committed
debugging
1 parent 396a365 commit 299a927

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ data "aws_partition" "current" {
2424
}
2525

2626
module "external_dns" {
27+
count = local.enabled ? 1 : 0
2728
source = "cloudposse/helm-release/aws"
2829
version = "0.10.1"
2930

src/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
output "metadata" {
2-
value = module.external_dns.metadata
2+
value = local.enabled ? module.external_dns[0].metadata : null
33
description = "Block status of the deployed release"
44
}

0 commit comments

Comments
 (0)