{"id":26410939,"url":"https://github.com/osinfra-io/terraform-google-cloud-sql","last_synced_at":"2025-03-17T20:19:56.067Z","repository":{"id":102998592,"uuid":"549233347","full_name":"osinfra-io/terraform-google-cloud-sql","owner":"osinfra-io","description":"Terraform example module for Google Cloud Platform Cloud SQL instance.","archived":false,"fork":false,"pushed_at":"2025-02-13T00:38:20.000Z","size":118,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-13T01:29:13.071Z","etag":null,"topics":["google-cloud-platform","infrastructure-as-code","osinfra","terraform","terraform-child-module"],"latest_commit_sha":null,"homepage":"https://www.osinfra.io","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osinfra-io.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":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"osinfra-io"}},"created_at":"2022-10-10T22:08:46.000Z","updated_at":"2025-02-13T00:38:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"138c585f-eb11-439f-afdb-a00e44e81da3","html_url":"https://github.com/osinfra-io/terraform-google-cloud-sql","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/osinfra-io%2Fterraform-google-cloud-sql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osinfra-io%2Fterraform-google-cloud-sql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osinfra-io%2Fterraform-google-cloud-sql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osinfra-io%2Fterraform-google-cloud-sql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osinfra-io","download_url":"https://codeload.github.com/osinfra-io/terraform-google-cloud-sql/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244102805,"owners_count":20398386,"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":["google-cloud-platform","infrastructure-as-code","osinfra","terraform","terraform-child-module"],"created_at":"2025-03-17T20:19:55.601Z","updated_at":"2025-03-17T20:19:56.057Z","avatar_url":"https://github.com/osinfra-io.png","language":"HCL","funding_links":["https://github.com/sponsors/osinfra-io"],"categories":[],"sub_categories":[],"readme":"# \u003cimg align=\"left\" width=\"45\" height=\"45\" src=\"https://github.com/osinfra-io/terraform-google-cloud-sql/assets/1610100/7b264c45-cb29-457b-86c9-40e3b82e44d4\"\u003e Google Cloud Platform - Cloud SQL Terraform Module\n\n**[GitHub Actions](https://github.com/osinfra-io/terraform-google-cloud-sql/actions):**\n\n[![Terraform Tests](https://github.com/osinfra-io/terraform-google-cloud-sql/actions/workflows/test.yml/badge.svg)](https://github.com/osinfra-io/terraform-google-cloud-sql/actions/workflows/test.yml) [![Dependabot](https://github.com/osinfra-io/terraform-google-cloud-sql/actions/workflows/dependabot.yml/badge.svg)](https://github.com/osinfra-io/terraform-google-cloud-sql/actions/workflows/dependabot.yml)\n\n**[Infracost](https://www.infracost.io):**\n\n[![infracost](https://img.shields.io/endpoint?url=https://dashboard.api.infracost.io/shields/json/cbeecfe3-576f-4553-984c-e451a575ee47/repos/e834656c-d298-40c8-9d6c-aa3dfec922e5/branch/fce62698-dc38-4eec-9423-3751689c89b4)](https://dashboard.infracost.io/org/osinfra-io/repos/e834656c-d298-40c8-9d6c-aa3dfec922e5?tab=settings)\n\n💵 Monthly estimates based on Infracost baseline costs.\n\n## Repository Description\n\nTerraform **example** module for a Google Cloud Platform cloud SQL instance.\n\n\u003e [!NOTE]\n\u003e We do not recommend consuming this module like you might a [public module](https://registry.terraform.io/browse/modules). It is a baseline, something you can fork, potentially maintain, and modify to fit your organization's needs. Using public modules vs. writing your own has various [drivers and trade-offs](https://docs.osinfra.io/fundamentals/architecture-decision-records/adr-0003) that your organization should evaluate.\n\n## 🔩 Usage\n\n\u003e [!TIP]\n\u003e You can check the [fixtures](fixtures) directory for example configurations. These fixtures set up the system for testing by providing all the necessary initial code, thus creating good examples on which to base your configurations.\n\nGoogle project services must be enabled before using this module. As a best practice, these should be defined in the [terraform-google-project](https://github.com/osinfra-io/terraform-google-project) module. The following services are required:\n\n- `sqladmin.googleapis.com`\n- `servicenetworking.googleapis.com`\n\n## \u003cimg align=\"left\" width=\"35\" height=\"35\" src=\"https://github.com/osinfra-io/github-organization-management/assets/1610100/39d6ae3b-ccc2-42db-92f1-276a5bc54e65\"\u003e Development\n\nOur focus is on the core fundamental practice of platform engineering, Infrastructure as Code.\n\n\u003eOpen Source Infrastructure (as Code) is a development model for infrastructure that focuses on open collaboration and applying relative lessons learned from software development practices that organizations can use internally at scale. - [Open Source Infrastructure (as Code)](https://www.osinfra.io)\n\nTo avoid slowing down stream-aligned teams, we want to open up the possibility for contributions. The Open Source Infrastructure (as Code) model allows team members external to the platform team to contribute with only a slight increase in cognitive load. This section is for developers who want to contribute to this repository, describing the tools used, the skills, and the knowledge required, along with Terraform documentation.\n\nSee the documentation for setting up a local development environment [here](https://docs.osinfra.io/fundamentals/development-setup).\n\n### 🛠️ Tools\n\n- [checkov](https://github.com/bridgecrewio/checkov)\n- [infracost](https://github.com/infracost/infracost)\n- [pre-commit](https://github.com/pre-commit/pre-commit)\n- [pre-commit-terraform](https://github.com/antonbabenko/pre-commit-terraform)\n- [terraform-docs](https://github.com/terraform-docs/terraform-docs)\n\n### 📋 Skills and Knowledge\n\nLinks to documentation and other resources required to develop and iterate in this repository successfully.\n\n- [cloud sql](https://cloud.google.com/sql/docs)\n\n### 🔍 Tests\n\nAll tests are [mocked](https://developer.hashicorp.com/terraform/language/tests/mocking) allowing us to test the module without creating infrastructure or requiring credentials. The trade-offs are acceptable in favor of speed and simplicity. In a Terraform test, a mocked provider or resource will generate fake data for all computed attributes that would normally be provided by the underlying provider APIs.\n\n```none\nterraform init\n```\n\n```none\nterraform test\n```\n\n## 📓 Terraform Documentation\n\n\u003e A child module automatically inherits default (un-aliased) provider configurations from its parent. The provider versions below are informational only and do **not** need to align with the provider configurations from its parent.\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\nNo requirements.\n\n## Providers\n\nNo providers.\n\n## Modules\n\nNo modules.\n\n## Resources\n\nNo resources.\n\n## Inputs\n\nNo inputs.\n\n## Outputs\n\nNo outputs.\n\u003c!-- END_TF_DOCS --\u003e\n\n## 📓 Terraform Regional Documentation\n\n- [regional](regional/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosinfra-io%2Fterraform-google-cloud-sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosinfra-io%2Fterraform-google-cloud-sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosinfra-io%2Fterraform-google-cloud-sql/lists"}