-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
31 lines (26 loc) · 1.01 KB
/
outputs.tf
File metadata and controls
31 lines (26 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
output "name" {
value = local.domain_dns_name
description = "string ||| The name of the created domain."
}
output "fqdn" {
value = local.domain_fqdn
description = "string ||| The FQDN (fully-qualified domain name) for the created domain."
}
output "zone_id" {
value = google_dns_managed_zone.this.name
description = "string ||| Google DNS Managed Zone ID."
}
output "nameservers" {
value = [for ns in google_dns_managed_zone.this.name_servers : trimsuffix(ns, ".")]
description = "list(string) ||| Delegate your managed_zone to these virtual name servers"
}
output "delegator" {
value = {
project_id = local.project_id
email = google_service_account.delegator.email
key_file = var.enable_delegator_key ? google_service_account_key.delegator[0].private_key : null
impersonate = var.enable_delegator_key ? false : true
}
description = "object({ project_id: string, email: string, key_file: optional(string), impersonate: bool }) ||| "
sensitive = true
}