An open API service indexing awesome lists of open source software.

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

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 |