https://github.com/mich0232/aws-route53-zone
Terraform module for creating a R53 hosted zone with attached SSL certificate.
https://github.com/mich0232/aws-route53-zone
aws aws-route53 dns terraform terraform-module
Last synced: about 2 months ago
JSON representation
Terraform module for creating a R53 hosted zone with attached SSL certificate.
- Host: GitHub
- URL: https://github.com/mich0232/aws-route53-zone
- Owner: Mich0232
- Created: 2022-12-06T22:40:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-17T00:53:16.000Z (over 2 years ago)
- Last Synced: 2025-01-13T19:21:31.508Z (3 months ago)
- Topics: aws, aws-route53, dns, terraform, terraform-module
- Language: HCL
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## AWS Route53 Hosted zone
This Terraform module create a R53 hosted zone with attached SSL certificate.
### Default records:
- ACM validation records
- CNAME www.(domain)### Inputs
`domain` - name of domain to be added.
`project_name` - Project name, will be used to prefix and tag AWS resources.
`no_certificate` - Don't use/generate SSL certificate``
`certificate` - ACM certificate data. If not provided SSL certificate will be generated.
```terraform
{
type = optional(object({
arn = string
domain_validation_options = list(object({
domain_name = string
resource_record_name = string
resource_record_value = string
resource_record_type = string
}))
}))
default = null
}
````renewal_eligibility` - Whether the certificate is eligible for managed renewal.
`records` - set of DNS records.
```terraform
{
type = set(object({
name = string
type = string
ttl = optional(number, 300)
records = list(string)
alias = optional(object({
name = string
zone_id = string
evaluate_target_health = optional(bool, false)
}))
}))
}
````default_ttl` - TTL of default records, listed above. (default: 300s)
`tags` - Extra tags
### Outputs
`id` - ID of create hosted zone
`name_servers` - List of name servers
`certificate_arn` - ARN of SSL certificate attached to domain.