{"id":20839181,"url":"https://github.com/timoa/terraform-google-module-example","last_synced_at":"2026-03-16T10:02:47.283Z","repository":{"id":37472983,"uuid":"481180041","full_name":"timoa/terraform-google-module-example","owner":"timoa","description":"A Terraform module uses as an example to start new Google Cloud Platform Terraform module. It includes all the automation (versioning, providers update, lint, security) and best practices from HashiCorp","archived":false,"fork":false,"pushed_at":"2025-07-15T21:44:11.000Z","size":271,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-16T20:32:02.728Z","etag":null,"topics":["gcp","google-cloud-platform","managed-by-terraform","renovate","semantic-release","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"https://timoa.com","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/timoa.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":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-04-13T11:00:01.000Z","updated_at":"2025-01-20T06:44:47.000Z","dependencies_parsed_at":"2024-03-30T06:29:44.896Z","dependency_job_id":"bf52778a-9d60-481c-83a9-442e5efcbbb9","html_url":"https://github.com/timoa/terraform-google-module-example","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":"timoa/terraform-module-example","purl":"pkg:github/timoa/terraform-google-module-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timoa%2Fterraform-google-module-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timoa%2Fterraform-google-module-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timoa%2Fterraform-google-module-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timoa%2Fterraform-google-module-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timoa","download_url":"https://codeload.github.com/timoa/terraform-google-module-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timoa%2Fterraform-google-module-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267370651,"owners_count":24076463,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"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":["gcp","google-cloud-platform","managed-by-terraform","renovate","semantic-release","terraform","terraform-module"],"created_at":"2024-11-18T01:12:36.715Z","updated_at":"2026-03-16T10:02:42.244Z","avatar_url":"https://github.com/timoa.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform Google module example\n\n[![Latest Release][release-badge]][release-url]\n[![Build Status][github-badge]][github-url]\n[![License][license-badge]][license-url]\n\nA Terraform module uses as a template to start new module.\n\nIt includes all the automation (versioning, providers update, lint, security) and best practices from HashiCorp.\n\n* [Pre-commit][pre-commit-url]: enforce checks on the module before commit\n* [Semantic Release][semantic-release-url]: automate the release and version process\n* [Reviewdog][reviewdog-url]: automate the review process with per code line comments (TFLint \u0026 TFSec checks)\n* [Renovate][renovate-url]: automate the dependency management (update provider version, etc.)\n* [ShiftLeft SCAN][shiftleft-scan-url]: security audit tool to detect security flaws in application and infrastructure code\n\n## Usage\n\n### GCP Authentication\n\n```bash\ngcloud auth application-default login\n```\n\n### Activate GCP APIs\n\nGo to the [Google Cloud Platform Console](https://console.cloud.google.com/apis/library) and activate the following APIs:\n\n* compute.googleapis.com\n\n### Integrate the module into your Terraform project\n\nIf you want to use this module inside your project, you can use the following code (change the tag to match the latest version):\n\n```bash\nmodule \"module-template\" {\n  source = \"git::https://github.com/timoa/terraform-google-module-example.git?ref=tags/0.0.2\"\n\n  # Required\n  project_id = \"my-project-id\"\n\n  # Optional\n  namespace = \"my-project\"\n  stage     = \"prod\"\n  region    = \"us-east1\"\n}\n```\n\n### Output example\n\n```bash\nterraform init\nterraform plan\n```\n\n```bash\nTerraform used the selected providers to generate the following execution\nplan. Resource actions are indicated with the following symbols:\n  + create\n\nTerraform will perform the following actions:\n\n  # module.project_factory_project_services.google_project_service.project_services[\"cloudresourcemanager.googleapis.com\"] will be created\n  + resource \"google_project_service\" \"project_services\" {\n      + disable_dependent_services = true\n      + disable_on_destroy         = false\n      + id                         = (known after apply)\n      + project                    = \"my-project-id\"\n      + service                    = \"cloudresourcemanager.googleapis.com\"\n    }\n\n  # module.project_factory_project_services.google_project_service.project_services[\"compute.googleapis.com\"] will be created\n  + resource \"google_project_service\" \"project_services\" {\n      + disable_dependent_services = true\n      + disable_on_destroy         = false\n      + id                         = (known after apply)\n      + project                    = \"my-project-id\"\n      + service                    = \"compute.googleapis.com\"\n    }\n\nPlan: 2 to add, 0 to change, 0 to destroy.\n\nChanges to Outputs:\n  + available_zones = [\n      + \"us-east1-b\",\n      + \"us-east1-c\",\n      + \"us-east1-d\",\n    ]\n```\n\n[github-badge]: https://github.com/timoa/terraform-google-module-example/workflows/Terraform/badge.svg\n[github-url]: https://github.com/timoa/terraform-google-module-example/actions?query=workflow%3ATerraform\n[release-badge]: https://img.shields.io/github/release/timoa/terraform-google-module-example.svg\n[release-url]: https://github.com/timoa/terraform-google-module-example/releases/latest\n[license-badge]: https://img.shields.io/github/license/timoa/terraform-google-module-example.svg\n[license-url]: https://github.com/timoa/terraform-google-module-example/blob/main/LICENSE\n[pre-commit-url]: https://pre-commit.com/\n[semantic-release-url]: https://semantic-release.gitbook.io/semantic-release/\n[reviewdog-url]: https://github.com/reviewdog/reviewdog\n[renovate-url]: https://www.whitesourcesoftware.com/free-developer-tools/renovate/\n[shiftleft-scan-url]: https://shiftleft.io/docs/scan/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimoa%2Fterraform-google-module-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimoa%2Fterraform-google-module-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimoa%2Fterraform-google-module-example/lists"}