Skip to content

FlexibleEngineCloud/terraform-flexibleengine-dns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flexible Engine DNS Zone Terraform Module


module "dns_zone" {
  source  = "FlexibleEngineCloud/dns/flexibleengine"
  version = "1.0.0"

  domain_name        = "mydomain.org"
  description        = "A domain for mydomain"
  domain_admin_email = "[email protected]"
  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

About

A Terraform module to create and manage domains and recordsets

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages