https://github.com/flexibleenginecloud/terraform-flexibleengine-dns
A Terraform module to create and manage domains and recordsets
https://github.com/flexibleenginecloud/terraform-flexibleengine-dns
Last synced: 5 months ago
JSON representation
A Terraform module to create and manage domains and recordsets
- Host: GitHub
- URL: https://github.com/flexibleenginecloud/terraform-flexibleengine-dns
- Owner: FlexibleEngineCloud
- License: apache-2.0
- Created: 2020-10-06T06:42:58.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-06T07:58:09.000Z (over 5 years ago)
- Last Synced: 2025-03-20T07:35:59.940Z (10 months ago)
- Language: HCL
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flexible Engine DNS Zone Terraform Module
---
```hcl
module "dns_zone" {
source = "FlexibleEngineCloud/dns/flexibleengine"
version = "1.0.0"
domain_name = "mydomain.org"
description = "A domain for mydomain"
domain_admin_email = "admin@mydomain.org"
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(object({
name = string
description = string
ttl = number
type = string
records = list(string)
})) | `[]` | 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 |
## Outputs
| Name | Description |
|------|-------------|
| zone\_id | The zone ID |