{"id":20925525,"url":"https://github.com/padok-team/terraform-google-dns","last_synced_at":"2025-05-13T17:33:05.770Z","repository":{"id":43374489,"uuid":"422140485","full_name":"padok-team/terraform-google-dns","owner":"padok-team","description":"Terraform module which creates DNS resources on Google Cloud Provider. You can determine if it will be public or private and a list of your DNS records.","archived":false,"fork":false,"pushed_at":"2024-11-15T14:45:39.000Z","size":99,"stargazers_count":5,"open_issues_count":4,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-11-15T15:42:52.541Z","etag":null,"topics":["dns","google-cloud","google-cloud-platform","ready-to-use","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"","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/padok-team.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-28T09:19:45.000Z","updated_at":"2024-10-18T16:03:30.000Z","dependencies_parsed_at":"2023-11-12T17:55:15.330Z","dependency_job_id":"990201e2-e9ee-4e17-910a-44e68471a535","html_url":"https://github.com/padok-team/terraform-google-dns","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padok-team%2Fterraform-google-dns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padok-team%2Fterraform-google-dns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padok-team%2Fterraform-google-dns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padok-team%2Fterraform-google-dns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/padok-team","download_url":"https://codeload.github.com/padok-team/terraform-google-dns/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225248000,"owners_count":17444160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["dns","google-cloud","google-cloud-platform","ready-to-use","terraform","terraform-module"],"created_at":"2024-11-18T20:33:03.983Z","updated_at":"2024-11-18T20:33:05.723Z","avatar_url":"https://github.com/padok-team.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google DNS Terraform module\n\nTerraform module which creates **DNS** resources on **Google Cloud Provider**.\nYou can determine if it will be public or private and a list of your DNS records.\n\n## User Stories for this module\n\n- AAOps I am able to list all my DNS records and set them\n- AAOps I can create a public or private DNS zone\n- AAOps I can create a DNS zone and record separatly\n\n## Usage\n\n```hcl\nmodule \"simple_public_zone\" {\n  source = \"git@github.com:padok-team/terraform-google-dns.git?ref=v1.4.0\"\n\n  project_id = \"my-awesome-project\"\n\n  name   = \"padok-simple-public-zone\"\n  fqdn   = \"test.library.padok.fr.\"\n  public = true\n  records = {\n    \"rec1\" = {\n      name    = \"www\"\n      type    = \"A\"\n      rrdatas = [\"35.189.202.112\"]\n      ttl     = 60\n    }\n    \"rec2\" = {\n      name    = \"\"\n      type    = \"A\"\n      rrdatas = [\"35.189.202.112\"]\n      ttl     = 60\n    }\n    \"rec3\" = {\n      name    = \"\"\n      type    = \"MX\"\n      rrdatas = [\n        \"1 aspmx.l.google.com.\",\n        \"5 alt1.aspmx.l.google.com.\",\n        \"5 alt2.aspmx.l.google.com.\",\n        \"10 alt3.aspmx.l.google.com.\",\n        \"10 alt4.aspmx.l.google.com.\",\n      ]\n      ttl = 60\n    }\n  }\n}\n```\n\n## Examples\n\nAll examples are in the examples folder:\n\n- [Example of simple public zone](examples/simple_public_zone/main.tf)\n- [Example of simple private zone](examples/simple_private_zone/main.tf)\n- [Example of public zone and record created separatly](examples/separated_zone_record/main.tf)\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Modules\n\nNo modules.\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | Name of your DNS zone. | `string` | n/a | yes |\n| \u003ca name=\"input_project_id\"\u003e\u003c/a\u003e [project\\_id](#input\\_project\\_id) | The project ID to manage the DNS resources. | `string` | n/a | yes |\n| \u003ca name=\"input_fqdn\"\u003e\u003c/a\u003e [fqdn](#input\\_fqdn) | The Full Qualified Domain Name of your DNS zone. If not provided implies that the zone already exist. | `string` | `\"\"` | no |\n| \u003ca name=\"input_public\"\u003e\u003c/a\u003e [public](#input\\_public) | Visibility of your zone. | `bool` | `true` | no |\n| \u003ca name=\"input_records\"\u003e\u003c/a\u003e [records](#input\\_records) | List of your DNS records. | \u003cpre\u003emap(object({\u003cbr\u003e    name    = string\u003cbr\u003e    type    = string\u003cbr\u003e    rrdatas = list(string)\u003cbr\u003e    ttl     = number\u003cbr\u003e  }))\u003c/pre\u003e | `{}` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_managed_zone_id\"\u003e\u003c/a\u003e [managed\\_zone\\_id](#output\\_managed\\_zone\\_id) | ID of the deployed DNS zone. |\n| \u003ca name=\"output_managed_zone_ns\"\u003e\u003c/a\u003e [managed\\_zone\\_ns](#output\\_managed\\_zone\\_ns) | Delegate your managed\\_zone to these virtual name servers. |\n\u003c!-- END_TF_DOCS --\u003e\n\n## License\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nSee [LICENSE](LICENSE) for full details.\n\n```text\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements.  See the NOTICE file\ndistributed with this work for additional information\nregarding copyright ownership.  The ASF licenses this file\nto you under the Apache License, Version 2.0 (the\n\"License\"); you may not use this file except in compliance\nwith the License.  You may obtain a copy of the License at\n\n  https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing,\nsoftware distributed under the License is distributed on an\n\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, either express or implied.  See the License for the\nspecific language governing permissions and limitations\nunder the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpadok-team%2Fterraform-google-dns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpadok-team%2Fterraform-google-dns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpadok-team%2Fterraform-google-dns/lists"}