Git Product home page Git Product logo

terraform-aws-dns's Introduction

Terraform-aws-dns-terraform-module repository

This repo contains a Terraform module that manages an AWS Route53 Zone and its simple routing policy records.

Features

  • Manage AWS Route53 hosted zone
  • Add/remove AWS Route53 records on the specified hosted zone

Usage

module dns {
  source  = "MauroSoli/terraform-aws-dns"
  version = "3.19"

  records = [
   #[ "name",     "type",  TTL, [ "value" ]]
    [ "", "A",     600, [ "123.123.123.123" ]],
    [ "record01", "CNAME", 600, [ "example.aws.example.com." ]],
    [ "record02", "A",     600, [ "143.204.9.89" ]]
  ]
}
output "aws_ns_records" {
  value       = module.dns.aws_zone_ns
  description = "NS records for hosted zone"
}

The records output from aws_ns_records must be added to the parent DNS Zone


Requirements

Name Version
terraform >= 1.2.9
aws ~> 4.41

Providers

Name Version
aws ~> 4.41

Modules

No modules.

Resources

Name Type
aws_route53_record.aws_zone resource
aws_route53_record.records resource
aws_route53_zone.aws_zone resource
aws_route53domains_registered_domain.aws_zone resource
aws_caller_identity.current data source

Inputs

Name Description Type Default Required
dns_zone AWS hosted zone name string n/a yes
is_it_a_registered_domain Is the specified domain an AWS registered domain? bool false no
records DNS records list(any) [] no

Outputs

Name Description
aws_zone_id hosted zone ID
aws_zone_ns NS records for hosted zone

terraform-aws-dns's People

Contributors

maurosoli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.