Example usage:
provider "google" {
alias = "backup"
project = "my-backup"
region = "europe-west3"
zone = "europe-west3-b"
}
resource "google_project_service" "backup_backupdr" {
provider = google.backup
service = "backupdr.googleapis.com"
}
module "backup" {
source = "TaitoUnited/backup/google"
version = "1.0.0"
depends_on = [
google_project_service.backup_backupdr,
]
providers = {
/* Place backups to another GCP project */
google = google.backup
}
name_prefix = "backup"
location = "europe-west3"
time_zone = "EEST"
cmek_enabled = true
database_instances = concat(module.databases.postgres_instances, module.databases.mysql_instances)
}
Combine with the following modules to get a complete infrastructure defined by YAML:
- Admin
- DNS
- Network
- Compute
- Kubernetes
- Databases
- Storage
- Backup
- Monitoring
- Integrations
- PostgreSQL privileges
- MySQL privileges
TIP: Similar modules are also available for AWS, Azure, and DigitalOcean. All modules are used by infrastructure templates of Taito CLI. See also Google Cloud project resources, Full Stack Helm Chart, and full-stack-template.
Contributions are welcome!