{"id":51410837,"url":"https://github.com/launchbynttdata/tf-aws-module_primitive-route53_record","last_synced_at":"2026-07-04T14:32:32.328Z","repository":{"id":349828690,"uuid":"1197634255","full_name":"launchbynttdata/tf-aws-module_primitive-route53_record","owner":"launchbynttdata","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-07T18:45:48.000Z","size":113,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-07T19:25:46.326Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","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-03-31T18:40:57.000Z","updated_at":"2026-04-02T15:31:55.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/launchbynttdata/tf-aws-module_primitive-route53_record","commit_stats":null,"previous_names":["launchbynttdata/tf-aws-module_primitive-route53_record"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/launchbynttdata/tf-aws-module_primitive-route53_record","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-route53_record","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-route53_record/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-route53_record/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-route53_record/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_record/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-route53_record/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35125718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-07-04T14:32:30.284Z","updated_at":"2026-07-04T14:32:32.241Z","avatar_url":"https://github.com/launchbynttdata.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tf-aws-module_primitive-route53_record\n\nTerraform primitive module for a single [`aws_route53_record`](https://registry.terraform.io/providers/hashicorp/aws/5.100.0/docs/resources/route53_record).\n\n## Overview\n\nThis module wraps one Route 53 resource record set. It supports simple records (`ttl` + `records`), alias targets, and optional routing policies (weighted, failover, geolocation, geoproximity, latency, CIDR, multivalue answer).\n\n## Usage\n\n### Simple record\n\n```hcl\nmodule \"www\" {\n  source = \"path/to/module\"\n\n  zone_id = aws_route53_zone.primary.zone_id\n  name    = \"www\"\n  type    = \"A\"\n  ttl     = 300\n  records = [\"203.0.113.10\"]\n}\n```\n\n### Complete example with routing policy\n\n```hcl\nmodule \"www_latency\" {\n  source = \"path/to/module\"\n\n  zone_id = aws_route53_zone.primary.zone_id\n  name    = \"www\"\n  type    = \"A\"\n  ttl     = 300\n  records = [\"203.0.113.10\"]\n\n  set_identifier = \"us-east-1\"\n\n  latency_routing_policy = {\n    region = \"us-east-1\"\n  }\n}\n```\n\nSee [`examples/complete`](examples/complete) for a full working example with all supported variables.\n\n## Provider configuration\n\nConfigure the AWS provider in the root module. This repository’s `examples/complete` expects a generated `provider.tf` from the standard Makefile workflow.\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_record.record](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_record) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_alias\"\u003e\u003c/a\u003e [alias](#input\\_alias) | Alias target (e.g. ELB, CloudFront). When set, do not set ttl or records.\u003cbr/\u003eThe inner `name` is the DNS name to point to (e.g. load balancer DNS name). | \u003cpre\u003eobject({\u003cbr/\u003e    name                   = string\u003cbr/\u003e    zone_id                = string\u003cbr/\u003e    evaluate_target_health = optional(bool, false)\u003cbr/\u003e  })\u003c/pre\u003e | `null` | no |\n| \u003ca name=\"input_allow_overwrite\"\u003e\u003c/a\u003e [allow\\_overwrite](#input\\_allow\\_overwrite) | Allow overwriting an existing record set with the same name and type. | `bool` | `false` | no |\n| \u003ca name=\"input_cidr_routing_policy\"\u003e\u003c/a\u003e [cidr\\_routing\\_policy](#input\\_cidr\\_routing\\_policy) | CIDR (IP-based) routing policy block. | \u003cpre\u003eobject({\u003cbr/\u003e    collection_id = string\u003cbr/\u003e    location_name = optional(string)\u003cbr/\u003e  })\u003c/pre\u003e | `null` | no |\n| \u003ca name=\"input_failover_routing_policy\"\u003e\u003c/a\u003e [failover\\_routing\\_policy](#input\\_failover\\_routing\\_policy) | Failover routing policy block. | \u003cpre\u003eobject({\u003cbr/\u003e    type = string\u003cbr/\u003e  })\u003c/pre\u003e | `null` | no |\n| \u003ca name=\"input_geolocation_routing_policy\"\u003e\u003c/a\u003e [geolocation\\_routing\\_policy](#input\\_geolocation\\_routing\\_policy) | Geolocation routing policy block. | \u003cpre\u003eobject({\u003cbr/\u003e    continent   = optional(string)\u003cbr/\u003e    country     = optional(string)\u003cbr/\u003e    subdivision = optional(string)\u003cbr/\u003e  })\u003c/pre\u003e | `null` | no |\n| \u003ca name=\"input_geoproximity_routing_policy\"\u003e\u003c/a\u003e [geoproximity\\_routing\\_policy](#input\\_geoproximity\\_routing\\_policy) | Geoproximity routing policy block. | \u003cpre\u003eobject({\u003cbr/\u003e    aws_region       = optional(string)\u003cbr/\u003e    bias             = optional(number)\u003cbr/\u003e    local_zone_group = optional(string)\u003cbr/\u003e    coordinates = optional(list(object({\u003cbr/\u003e      latitude  = string\u003cbr/\u003e      longitude = string\u003cbr/\u003e    })))\u003cbr/\u003e  })\u003c/pre\u003e | `null` | no |\n| \u003ca name=\"input_health_check_id\"\u003e\u003c/a\u003e [health\\_check\\_id](#input\\_health\\_check\\_id) | Health check ID to associate with alias, weighted, or failover routing. | `string` | `null` | no |\n| \u003ca name=\"input_latency_routing_policy\"\u003e\u003c/a\u003e [latency\\_routing\\_policy](#input\\_latency\\_routing\\_policy) | Latency routing policy block. | \u003cpre\u003eobject({\u003cbr/\u003e    region = string\u003cbr/\u003e  })\u003c/pre\u003e | `null` | no |\n| \u003ca name=\"input_multivalue_answer_routing_policy\"\u003e\u003c/a\u003e [multivalue\\_answer\\_routing\\_policy](#input\\_multivalue\\_answer\\_routing\\_policy) | Set to true for multivalue answer routing. | `bool` | `null` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | DNS domain name for the record (relative to the zone or fully qualified). | `string` | n/a | yes |\n| \u003ca name=\"input_records\"\u003e\u003c/a\u003e [records](#input\\_records) | String records for non-alias records (e.g. IPv4 for A, text for TXT). | `list(string)` | `null` | no |\n| \u003ca name=\"input_set_identifier\"\u003e\u003c/a\u003e [set\\_identifier](#input\\_set\\_identifier) | Unique identifier for weighted, latency, geolocation, or failover routing. | `string` | `null` | no |\n| \u003ca name=\"input_timeouts\"\u003e\u003c/a\u003e [timeouts](#input\\_timeouts) | Create, update, and delete timeouts for the record set change. | \u003cpre\u003eobject({\u003cbr/\u003e    create = optional(string)\u003cbr/\u003e    update = optional(string)\u003cbr/\u003e    delete = optional(string)\u003cbr/\u003e  })\u003c/pre\u003e | `null` | no |\n| \u003ca name=\"input_ttl\"\u003e\u003c/a\u003e [ttl](#input\\_ttl) | TTL of the record in seconds. Omit when using an alias record. | `number` | `null` | no |\n| \u003ca name=\"input_type\"\u003e\u003c/a\u003e [type](#input\\_type) | DNS record type. | `string` | n/a | yes |\n| \u003ca name=\"input_weighted_routing_policy\"\u003e\u003c/a\u003e [weighted\\_routing\\_policy](#input\\_weighted\\_routing\\_policy) | Weighted routing policy block. | \u003cpre\u003eobject({\u003cbr/\u003e    weight = number\u003cbr/\u003e  })\u003c/pre\u003e | `null` | no |\n| \u003ca name=\"input_zone_id\"\u003e\u003c/a\u003e [zone\\_id](#input\\_zone\\_id) | The ID of the hosted zone that contains this resource record set. | `string` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_fqdn\"\u003e\u003c/a\u003e [fqdn](#output\\_fqdn) | The FQDN built from the record name and zone (trailing dot omitted). |\n| \u003ca name=\"output_id\"\u003e\u003c/a\u003e [id](#output\\_id) | The Route 53 record set ID (hosted zone ID, record name, and type). |\n| \u003ca name=\"output_name\"\u003e\u003c/a\u003e [name](#output\\_name) | The name of the record. |\n| \u003ca name=\"output_type\"\u003e\u003c/a\u003e [type](#output\\_type) | The DNS record type. |\n\u003c!-- END_TF_DOCS --\u003e\n\n## License\n\nSee [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaunchbynttdata%2Ftf-aws-module_primitive-route53_record","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaunchbynttdata%2Ftf-aws-module_primitive-route53_record","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaunchbynttdata%2Ftf-aws-module_primitive-route53_record/lists"}