back
terraform {
required_providers {
aws = ">= 3.35.0"
}
}
top
module "aws_lightsail_domain" {
source = "./modules/aws/r/aws_lightsail_domain"
# domain_name - (required) is a type of string
domain_name = null
}
top
variable "domain_name" {
description = "(required)"
type = string
}
top
resource "aws_lightsail_domain" "this" {
# domain_name - (required) is a type of string
domain_name = var.domain_name
}
top
output "arn" {
description = "returns a string"
value = aws_lightsail_domain.this.arn
}
output "id" {
description = "returns a string"
value = aws_lightsail_domain.this.id
}
output "this" {
value = aws_lightsail_domain.this
}
top