back
terraform {
required_providers {
fastly = ">= 0.28.1"
}
}
top
module "fastly_tls_domain" {
source = "./modules/fastly/d/fastly_tls_domain"
# domain - (required) is a type of string
domain = null
}
top
variable "domain" {
description = "(required) - Domain name to look up activations, certificates and subscriptions for."
type = string
}
top
data "fastly_tls_domain" "this" {
# domain - (required) is a type of string
domain = var.domain
}
top
output "id" {
description = "returns a string"
value = data.fastly_tls_domain.this.id
}
output "tls_activation_ids" {
description = "returns a set of string"
value = data.fastly_tls_domain.this.tls_activation_ids
}
output "tls_certificate_ids" {
description = "returns a set of string"
value = data.fastly_tls_domain.this.tls_certificate_ids
}
output "tls_subscription_ids" {
description = "returns a set of string"
value = data.fastly_tls_domain.this.tls_subscription_ids
}
output "this" {
value = fastly_tls_domain.this
}
top