Skip to content

revenants-cie/terraform-aws-revdb-dns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RevDB DNS Module

Description

This module helps to maintain domain names, zones and records within Route53.

For a more detailed use case and sample, please take a look at the blog post that's covering the release of this module.

https://revdb.io/2020/12/24/managing-your-domain-names-zones-and-records-with-terraform/

Examples

Adding a simple domain name as a route53 zone.

module "infrastructureascode_blog" {
  source  = "revenants-cie/revdb-dns/aws"
  domain_name = "infrastructureascode.blog"
}

Adding a domain with multiple records attached.

module "infrastructureascode_blog" {
  source  = "revenants-cie/revdb-dns/aws"
  domain_name = "infrastructureascode.blog"
  records = {
    A = ["10.10.10.10"],
    TXT = ["google-site-verification=ASDASDASDASDASD"]
  }
}

Output

revdb_io = {
  "comment" = "Managed by Terraform"
  "delegation_set_id" = ""
  "force_destroy" = false
  "id" = "Z3DXXXXXXX"
  "name" = "infrastructureascode.blog."
  "name_servers" = [
    "ns-xxxx.awsdns-04.org",
    "ns-xxx.awsdns-02.co.uk",
    "ns-xx.awsdns-02.com",
    "ns-xxx.awsdns-01.net",
  ]
  "tags" = {}
  "vpc" = []
  "zone_id" = "Z3DXXXXXXX"
}

About

Terraform AWS module to manage DNS and Route53 configuration

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages