{"id":16777638,"url":"https://github.com/atb00ker/terraform-gcp-openwisp","last_synced_at":"2025-04-05T08:14:53.577Z","repository":{"id":120981880,"uuid":"237228443","full_name":"atb00ker/terraform-gcp-openwisp","owner":"atb00ker","description":"Terraform files for deploying docker-openwisp infrastructure in Google Cloud.","archived":false,"fork":false,"pushed_at":"2020-04-03T08:25:38.000Z","size":62,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T15:50:41.220Z","etag":null,"topics":["docker-openwisp","google-cloud","openwisp","terraform","terraform-module"],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atb00ker.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-30T14:17:35.000Z","updated_at":"2021-07-28T19:02:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee75ee3b-877d-4415-972c-ce3620f418d2","html_url":"https://github.com/atb00ker/terraform-gcp-openwisp","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atb00ker%2Fterraform-gcp-openwisp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atb00ker%2Fterraform-gcp-openwisp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atb00ker%2Fterraform-gcp-openwisp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atb00ker%2Fterraform-gcp-openwisp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atb00ker","download_url":"https://codeload.github.com/atb00ker/terraform-gcp-openwisp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305947,"owners_count":20917208,"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":["docker-openwisp","google-cloud","openwisp","terraform","terraform-module"],"created_at":"2024-10-13T07:25:23.214Z","updated_at":"2025-04-05T08:14:53.561Z","avatar_url":"https://github.com/atb00ker.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform(GCP): OpenWISP\n\n[![Terraform](https://img.shields.io/badge/terraform-openwisp-blue)](https://registry.terraform.io/modules/atb00ker/openwisp/gcp)\n[![GitHub license](https://img.shields.io/github/license/atb00ker/terraform-gcp-openwisp.svg)](https://github.com/openwisp/terraform-gcp-openwisp/blob/master/LICENSE)\n\nTerraform files for deploying docker-openwisp infrastructure in Google Cloud.\nThis module creates the infrastructure required for deploying the\nkubernetes cluster.\n\n## Requirements\n\n1. Create a Google Cloud service account that has atleast the following roles:\n\n    - Compute Admin\n    - Compute Network Admin\n    - Compute Security Admin\n    - Kubernetes Engine Admin\n    - Service Account User\n    - Service Usage Admin\n    - DNS Administrator (When `google_services.use_cloud_dns` is `true`)\n    - Cloud SQL Admin (When `google_services.use_cloud_sql` is `true`)\n\n2. Enable following APIs allow terraform to create resources:\n\n   - [serviceusage.googleapis.com](https://console.developers.google.com/apis/api/serviceusage.googleapis.com)\n   - [cloudresourcemanager.googleapis.com](https://console.developers.google.com/apis/library/cloudresourcemanager.googleapis.com)\n\n3. If you using the following options, please follow the requirements as per the variable's documentation:\n\n- `google_services.configure_gloud`\n\n## Usage\n\n**Note: The following links work only when you are viewing on github.com**\n\n### Variables\n- Inputs  documentation available [here](docs/input.md).\n- Outputs documentation available [here](docs/output.md).\n\n### Examples\n- Standalone example available [here](examples/standalone).\n\n### Create:\n\n1. Configure the options in the module. (`examples/` may be helpful)\n2. Apply the configurations: `terraform apply`\n3. If using Cloud DNS, get the [NS records](https://console.cloud.google.com/net-services/dns/zones/openwisp-dns) and add them in your domain registrar records.\n4. Destroy resources only required for management (Creation / Updation)\n\n```bash\nterraform destroy \\\n    --target=module.infrastructure.google_compute_router.openwisp_cluster_router \\\n    --target=module.infrastructure.google_compute_router_nat.openwisp_connection_nat\n```\n\n### Destroy:\n\nRemember to use terraform when you want to destroy a resource created by terraform.\nTo destroy all resources: `terraform destroy`\n\n## Contribute to documentation\n\nSome of the parts of documentations are re-used from the [terraform-kubernetes-openwisp](https://github.com/atb00ker/terraform-kubernetes-openwisp) to reduce maintenance, changes need to made in that repository in such cases.\n\n1. Install MarkdownPP: `pip install MarkdownPP`\n2. Make changes in `docs/build/` directory.\n3. To create documentation, in the root of repository:\n\n```bash\nmarkdown-pp docs/build/input.mdpp -o docs/input.md\nmarkdown-pp docs/build/output.mdpp -o docs/output.md\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatb00ker%2Fterraform-gcp-openwisp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatb00ker%2Fterraform-gcp-openwisp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatb00ker%2Fterraform-gcp-openwisp/lists"}