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
- Host: GitHub
- URL: https://github.com/rhythmictech/terraform-aws-hosted-zone
- Owner: rhythmictech
- License: mit
- Created: 2019-06-05T19:20:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-10T19:33:39.000Z (almost 5 years ago)
- Last Synced: 2025-01-08T11:41:01.070Z (about 1 year ago)
- Topics: aws, route53, terraform, terraform-module, terraform-modules
- Language: HCL
- Homepage: https://registry.terraform.io/modules/rhythmictech/hosted-zone/aws
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# terraform-aws-hosted-zone
[](https://github.com/rhythmictech/terraform-aws-hosted-zone/actions?query=workflow%3Atflint+event%3Apush+branch%3Amain)
[](https://github.com/rhythmictech/terraform-aws-hosted-zone/actions?query=workflow%3Atfsec+event%3Apush+branch%3Amain)
[](https://github.com/rhythmictech/terraform-aws-hosted-zone/actions?query=workflow%3Ayamllint+event%3Apush+branch%3Amain)
[](https://github.com/rhythmictech/terraform-aws-hosted-zone/actions?query=workflow%3Amisspell+event%3Apush+branch%3Amain)
[](https://github.com/rhythmictech/terraform-aws-hosted-zone/actions?query=workflow%3Apre-commit-check+event%3Apush+branch%3Amain)

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