module "dns_zone" {
source = "FlexibleEngineCloud/dns/flexibleengine"
version = "1.0.0"
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"]
}
]
}| Name | Version |
|---|---|
| terraform | >= 0.13 |
| flexibleengine | ~> 1.16 |
| Name | Version |
|---|---|
| flexibleengine | ~> 1.16 |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| dns_recordsets | n/a | list(object({ |
[] |
no |
| domain_admin_email | The domain administrator e-mail | any |
n/a | yes |
| domain_description | A domain description | any |
n/a | yes |
| domain_name | The domain name to be created | any |
n/a | yes |
| domain_ttl | The domain TTL | number |
3000 |
no |
| region_name | The Flexible Engine region name for a private domain zone | string |
"" |
no |
| vpc_id | The Flexible Engine VPC ID for a private domain zone | string |
"" |
no |
| zone_type | Type of the zone, can be "private" or "public" | any |
n/a | yes |
| Name | Description |
|---|---|
| zone_id | The zone ID |