generated from clouddrove/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
27 lines (27 loc) · 1.2 KB
/
outputs.tf
File metadata and controls
27 lines (27 loc) · 1.2 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
# ------------------------------------------------------------------------------
# Outputs
# ------------------------------------------------------------------------------
output "id" {
value = join("", digitalocean_cdn.main[*].id)
description = "A unique ID that can be used to identify and reference a CDN Endpoint."
}
output "origin" {
value = join("", digitalocean_cdn.main[*].origin)
description = "The fully qualified domain name, (FQDN) of a space referenced by the CDN Endpoint."
}
output "endpoint" {
value = join("", digitalocean_cdn.main[*].endpoint)
description = "The fully qualified domain name (FQDN) from which the CDN-backed content is served."
}
output "created_at" {
value = join("", digitalocean_cdn.main[*].created_at)
description = "The date and time when the CDN Endpoint was created."
}
output "ttl" {
value = join("", digitalocean_cdn.main[*].ttl)
description = "The time to live for the CDN Endpoint, in seconds."
}
output "custom_domain" {
value = var.custom_domain != null ? join("", digitalocean_cdn.main[*].custom_domain) : 0
description = "The fully qualified domain name (FQDN) of the custom subdomain used with the CDN Endpoint."
}