{"id":48829955,"url":"https://github.com/launchbynttdata/tf-aws-module_primitive-route53_zone","last_synced_at":"2026-04-14T20:00:27.963Z","repository":{"id":349828687,"uuid":"1165774081","full_name":"launchbynttdata/tf-aws-module_primitive-route53_zone","owner":"launchbynttdata","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-07T18:45:48.000Z","size":118,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-07T19:25:46.303Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/launchbynttdata.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-24T14:30:35.000Z","updated_at":"2026-04-06T13:59:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/launchbynttdata/tf-aws-module_primitive-route53_zone","commit_stats":null,"previous_names":["launchbynttdata/tf-aws-module_primitive-route53_zone"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/launchbynttdata/tf-aws-module_primitive-route53_zone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-route53_zone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-route53_zone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-route53_zone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-route53_zone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/launchbynttdata","download_url":"https://codeload.github.com/launchbynttdata/tf-aws-module_primitive-route53_zone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-route53_zone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31812977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-14T20:00:18.899Z","updated_at":"2026-04-14T20:00:27.944Z","avatar_url":"https://github.com/launchbynttdata.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Route53 Zone Primitive Module\n\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![License: CC BY-NC-ND 4.0](https://img.shields.io/badge/License-CC_BY--NC--ND_4.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-nd/4.0/)\n\n## Overview\n\nThis Terraform module creates an AWS Route53 hosted zone. It wraps the `aws_route53_zone` resource and supports both public and private hosted zones.\n\n## Usage\n\n```hcl\nmodule \"zone\" {\n  source = \"terraform.registry.launch.nttdata.com/module_primitive/route53_zone/aws\"\n  version = \"~\u003e 1.0\"\n\n  name   = \"example.com\"\n  tags   = var.tags\n}\n```\n\nSee the [complete example](examples/complete/) for a full working example with resource naming.\n\n## Prerequisites\n\n- [asdf](https://github.com/asdf-vm/asdf) or [mise](https://mise.jdx.dev/) for tool version management\n- [make](https://www.gnu.org/software/make/)\n- [repo](https://android.googlesource.com/tools/repo) for pulling components\n\n### Repo Init\n\n```shell\nmake configure\n```\n\n### Local Testing\n\n1. Set AWS credentials (e.g., `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_DEFAULT_REGION` or use a profile).\n2. For the example, ensure `base_domain` in `examples/complete/test.tfvars` is a domain you own.\n3. Run:\n\n```shell\nmake check\n```\n\n## Pre-Commit Hooks\n\nThe [.pre-commit-config.yaml](.pre-commit-config.yaml) defines hooks for Terraform, Go, and linting. The `commitlint` hook enforces conventional commit messages.\n\nThe `detect-secrets-hook` prevents new secrets from being introduced. See [pre-commit hooks documentation](https://pre-commit.com/) for details.\n\nTo install the commit message hook:\n\n```shell\npre-commit install --hook-type commit-msg\n```\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | ~\u003e 1.10 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 5.0, \u003c 7.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | 6.39.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_route53_zone.zone](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_zone) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | The name of the hosted zone (domain name). | `string` | n/a | yes |\n| \u003ca name=\"input_comment\"\u003e\u003c/a\u003e [comment](#input\\_comment) | A comment for the hosted zone. Defaults to 'Managed by Terraform' when null. | `string` | `null` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Map of tags to assign to the hosted zone. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_vpc_id\"\u003e\u003c/a\u003e [vpc\\_id](#input\\_vpc\\_id) | The VPC to associate with a private hosted zone. Specifying this creates a private hosted zone. Conflicts with delegation\\_set\\_id. | `string` | `null` | no |\n| \u003ca name=\"input_vpc_region\"\u003e\u003c/a\u003e [vpc\\_region](#input\\_vpc\\_region) | The VPC's region. Defaults to the region of the AWS provider. | `string` | `null` | no |\n| \u003ca name=\"input_delegation_set_id\"\u003e\u003c/a\u003e [delegation\\_set\\_id](#input\\_delegation\\_set\\_id) | The ID of the reusable delegation set whose NS records you want to assign to the hosted zone. Conflicts with vpc\\_id as delegation sets can only be used for public zones. | `string` | `null` | no |\n| \u003ca name=\"input_force_destroy\"\u003e\u003c/a\u003e [force\\_destroy](#input\\_force\\_destroy) | Whether to destroy all records (possibly managed outside of Terraform) in the zone when destroying the zone. | `bool` | `false` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_id\"\u003e\u003c/a\u003e [id](#output\\_id) | The ID of the resource (same as the zone\\_id). |\n| \u003ca name=\"output_zone_id\"\u003e\u003c/a\u003e [zone\\_id](#output\\_zone\\_id) | The Hosted Zone ID. This can be referenced by zone records. |\n| \u003ca name=\"output_name_servers\"\u003e\u003c/a\u003e [name\\_servers](#output\\_name\\_servers) | A list of name servers in the associated (or default) delegation set. |\n| \u003ca name=\"output_arn\"\u003e\u003c/a\u003e [arn](#output\\_arn) | The ARN of the hosted zone. |\n| \u003ca name=\"output_name\"\u003e\u003c/a\u003e [name](#output\\_name) | The name of the hosted zone. |\n| \u003ca name=\"output_primary_name_server\"\u003e\u003c/a\u003e [primary\\_name\\_server](#output\\_primary\\_name\\_server) | The Route 53 name server that created the SOA record. |\n| \u003ca name=\"output_tags_all\"\u003e\u003c/a\u003e [tags\\_all](#output\\_tags\\_all) | A map of tags assigned to the resource, including those inherited from the provider default\\_tags configuration block. |\n\u003c!-- END_TF_DOCS --\u003e\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | ~\u003e 1.5 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | ~\u003e 5.14 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | 5.100.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_route53_zone.zone](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_zone) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_comment\"\u003e\u003c/a\u003e [comment](#input\\_comment) | A comment for the hosted zone. Defaults to 'Managed by Terraform' when null. | `string` | `null` | no |\n| \u003ca name=\"input_delegation_set_id\"\u003e\u003c/a\u003e [delegation\\_set\\_id](#input\\_delegation\\_set\\_id) | The ID of the reusable delegation set whose NS records you want to assign to the hosted zone. Conflicts with vpc\\_id as delegation sets can only be used for public zones. | `string` | `null` | no |\n| \u003ca name=\"input_force_destroy\"\u003e\u003c/a\u003e [force\\_destroy](#input\\_force\\_destroy) | Whether to destroy all records (possibly managed outside of Terraform) in the zone when destroying the zone. | `bool` | `false` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | The name of the hosted zone (domain name). | `string` | n/a | yes |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Map of tags to assign to the hosted zone. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_vpc_id\"\u003e\u003c/a\u003e [vpc\\_id](#input\\_vpc\\_id) | The VPC to associate with a private hosted zone. Specifying this creates a private hosted zone. Conflicts with delegation\\_set\\_id. | `string` | `null` | no |\n| \u003ca name=\"input_vpc_region\"\u003e\u003c/a\u003e [vpc\\_region](#input\\_vpc\\_region) | The VPC's region. Defaults to the region of the AWS provider. | `string` | `null` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_arn\"\u003e\u003c/a\u003e [arn](#output\\_arn) | The ARN of the hosted zone. |\n| \u003ca name=\"output_id\"\u003e\u003c/a\u003e [id](#output\\_id) | The ID of the resource (same as the zone\\_id). |\n| \u003ca name=\"output_name\"\u003e\u003c/a\u003e [name](#output\\_name) | The name of the hosted zone. |\n| \u003ca name=\"output_name_servers\"\u003e\u003c/a\u003e [name\\_servers](#output\\_name\\_servers) | A list of name servers in the associated (or default) delegation set. |\n| \u003ca name=\"output_zone_id\"\u003e\u003c/a\u003e [zone\\_id](#output\\_zone\\_id) | The Hosted Zone ID. This can be referenced by zone records. |\n\u003c!-- END_TF_DOCS --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaunchbynttdata%2Ftf-aws-module_primitive-route53_zone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaunchbynttdata%2Ftf-aws-module_primitive-route53_zone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaunchbynttdata%2Ftf-aws-module_primitive-route53_zone/lists"}