From a15d1a3c2a413d78f5f2375e1625c09eab108e0a Mon Sep 17 00:00:00 2001 From: Nathalie Date: Thu, 20 Feb 2025 10:56:57 +0100 Subject: [PATCH] output dns_keys instead of a list (#2915) * output dns_keys instead of a list * access list items with square brackets according to linter --- modules/dns/outputs.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dns/outputs.tf b/modules/dns/outputs.tf index 7493b4cf7..e84bf9768 100644 --- a/modules/dns/outputs.tf +++ b/modules/dns/outputs.tf @@ -16,7 +16,7 @@ output "dns_keys" { description = "DNSKEY and DS records of DNSSEC-signed managed zones." - value = try(data.google_dns_keys.dns_keys, null) + value = try(data.google_dns_keys.dns_keys[0], null) } output "domain" {