dns
FlexibleEngineCloud/dns/flexibleengine
A Terraform module to create and manage domains and recordsets
Flexible Engine DNS Zone Terraform Module --- ``hcl module "dns_zone" { source = "modules/terraform-fe-dns" domain_name = "mydomain.org" description = "A domain for mydomain" domain_admin_email = "[email protected]" zone_type = "public" dns_recordsets = [ { name = "www1" description = "A DNS entry for www1" ttl = "3000" type = "A" records = ["10.0.0.1"] }, { name = "www2" description = "A DNS entry for www2" ttl = "3000" type = "A" records = ["10.0.0.2", "10.0.0.3"] } ] } ` Requirements | Name | Version | |------|---------| | terraform | >= 0.13 | | flexibleengine | ~> 1.16 | Providers | Name | Version | |------|---------| | flexibleengine | ~> 1.16 | Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | dns\_recordsets | n/a | list
| Name | Type | Description | Default |
|---|---|---|---|
| domain_admin_email | string | The domain administrator e-mail | required |
| domain_description | string | A domain description | required |
| domain_name | string | The domain name to be created | required |
| zone_type | string | Type of the zone, can be "private" or "public" | required |
| domain_ttl | string | The domain TTL | 3000 |
| region_name | string | The Flexible Engine region name for a private domain zone | "" |
| vpc_id | string | The Flexible Engine VPC ID for a private domain zone | "" |
| dns_recordsets | list(object({ name | [] |
zone_id — The zone ID