https://github.com/honestbank/terraform-gcp-sql
Terraform-managed repo.
https://github.com/honestbank/terraform-gcp-sql
workspace-code-infrastructure-prod
Last synced: 5 months ago
JSON representation
Terraform-managed repo.
- Host: GitHub
- URL: https://github.com/honestbank/terraform-gcp-sql
- Owner: honestbank
- Created: 2022-03-17T05:04:16.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2026-01-15T09:50:43.000Z (5 months ago)
- Last Synced: 2026-01-15T14:58:05.217Z (5 months ago)
- Topics: workspace-code-infrastructure-prod
- Language: HCL
- Homepage:
- Size: 404 KB
- Stars: 0
- Watchers: 20
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Terraform GCP SQL Module
This repository/module builds a [Google Cloud SQL](https://cloud.google.com/sql) instance and related resources.
This module is designed to be embedded into parent modules to be used to manage live infrastructure.
## Prerequisites
### Configure a Service Account
In order to execute this module you must have a Service Account with the following:
Role
- Cloud SQL Admin: `roles/cloudsql.admin`
- Compute Network Admin: `roles/compute.networkAdmin`
### Enable API
In order to operate with the Service Account you must activate the following APIs on the project where the Service Account was created:
- Cloud SQL Admin API: `sqladmin.googleapis.com`
In order to use Private Service Access, required for using Private IPs, you must activate the following APIs on the project where your VPC resides:
- Cloud SQL Admin API: `sqladmin.googleapis.com`
- Compute Engine API: `compute.googleapis.com`
- Service Networking API: `servicenetworking.googleapis.com`
- Cloud Resource Manager API: `cloudresourcemanager.googleapis.com`
## Requirements
No requirements.
## Providers
No providers.
## Modules
No modules.
## Resources
No resources.
## Inputs
No inputs.
## Outputs
No outputs.