Meet OPSd. The unique and effortless way of managing cloud infrastructure.
The module is responsible for managing AWS Route53 (DNS).
module "manage_route53" {
source = "github.com/opsd-io/terraform-module-aws-route53?ref=v0.1.0"
# Variables
zone_name = "opsd.example.test"
a_records = {
website = {
name = "opsd.example.test"
ttl = "300"
records = ["1.2.3.4"]
}
}
cname_records = {
website = {
name = "www"
ttl = "300"
records = ["opsd.example.test"]
}
}
}
IMPORTANT: Make sure not to pin to master branch because there may be breaking changes between releases.
See all the usage examples.
Name | Version |
---|---|
terraform | >= 1.5.5 |
aws | >= 5.17.0 |
Name | Version |
---|---|
aws | >= 5.17.0 |
No modules.
Name | Type |
---|---|
aws_route53_record.a | resource |
aws_route53_record.cname | resource |
aws_route53_record.mx | resource |
aws_route53_record.ns | resource |
aws_route53_record.srv | resource |
aws_route53_zone.main | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
a_records | Domain A records. | map(object({ |
{} |
no |
cname_records | Domain CNAME records. | map(object({ |
{} |
no |
mx_records | Domain MX records. | map(object({ |
{} |
no |
ns_records | Domain NS records. | map(object({ |
{} |
no |
srv_records | Domain SRV records. | map(object({ |
{} |
no |
vpc_id | VPC in which private domain will be created. | string |
null |
no |
vpc_region | AWS Region in which private domain will be created. | string |
null |
no |
zone_name | The main domain name. | string |
n/a | yes |
Name | Description |
---|---|
a_records | Output for A records |
cname_records | Output for CNAME records |
mx_records | Output for MX records |
name_servers | The name servers of the domain zone. |
ns_records | Output for NS records |
srv_records | Output for SRV records |
zone_arn | The ARN of the domain zone. |
zone_id | The ARN of the domain zone. |
zone_name | The Name of the domain zone. |
If you are interested in contributing to the project, see see our guide.
If you have a problem with the module or want to propose a new feature, you can report it via the project's (Github) issue tracker.
If you want to discuss something in person, you can join our community on Slack.