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

https://github.com/rhythmictech/terraform-aws-hosted-zone

Create a Route53 Hosted Zone
https://github.com/rhythmictech/terraform-aws-hosted-zone

aws route53 terraform terraform-module terraform-modules

Last synced: 12 months ago
JSON representation

Create a Route53 Hosted Zone

Awesome Lists containing this project

README

          

# terraform-aws-hosted-zone

[![tflint](https://github.com/rhythmictech/terraform-aws-hosted-zone/workflows/tflint/badge.svg?branch=main&event=push)](https://github.com/rhythmictech/terraform-aws-hosted-zone/actions?query=workflow%3Atflint+event%3Apush+branch%3Amain)
[![tfsec](https://github.com/rhythmictech/terraform-aws-hosted-zone/workflows/tfsec/badge.svg?branch=main&event=push)](https://github.com/rhythmictech/terraform-aws-hosted-zone/actions?query=workflow%3Atfsec+event%3Apush+branch%3Amain)
[![yamllint](https://github.com/rhythmictech/terraform-aws-hosted-zone/workflows/yamllint/badge.svg?branch=main&event=push)](https://github.com/rhythmictech/terraform-aws-hosted-zone/actions?query=workflow%3Ayamllint+event%3Apush+branch%3Amain)
[![misspell](https://github.com/rhythmictech/terraform-aws-hosted-zone/workflows/misspell/badge.svg?branch=main&event=push)](https://github.com/rhythmictech/terraform-aws-hosted-zone/actions?query=workflow%3Amisspell+event%3Apush+branch%3Amain)
[![pre-commit-check](https://github.com/rhythmictech/terraform-aws-hosted-zone/workflows/pre-commit-check/badge.svg?branch=main&event=push)](https://github.com/rhythmictech/terraform-aws-hosted-zone/actions?query=workflow%3Apre-commit-check+event%3Apush+branch%3Amain)
follow on Twitter

Creates a Route53 zone and optional wildcard certificate matching it.

## Example
```hcl
module "zone" {
source = "rhythmictech/hosted-zone/aws"

}
```

## Requirements

| Name | Version |
|------|---------|
| terraform | >= 0.12.19 |
| aws | >= 3.0 |

## Providers

| Name | Version |
|------|---------|
| aws | >= 3.0 |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| domain | Domain for hosted zone | `string` | n/a | yes |
| create\_certificate | Create an ACM certificate associated with the domain | `bool` | `true` | no |
| name | Name tag to apply (will default to `external_domain` if not specified) | `string` | `null` | no |
| tags | Custom tags to add to resources | `map(string)` | `{}` | no |

## Outputs

| Name | Description |
|------|-------------|
| certificate\_arn | ACM SSL Certificate ARN |
| zone\_id | Zone ID |
| zone\_name | Zone name |
| zone\_name\_servers | Zone Name Servers |

:x