What problem does it solve?
This Skill provides a comprehensive guide and best practices for writing, reviewing, and designing Terraform configurations specifically for Google Cloud Platform (GCP) resources, ensuring robust, secure, and maintainable infrastructure as code.
Core Features & Use Cases
- GCP Resource Patterns: Offers HCL code examples for common GCP services like Cloud Run, Cloud SQL, Cloud Storage, VPC, and Secret Manager.
- Best Practices: Enforces naming conventions, IAM least privilege, state management with GCS, environment separation, and secure secret handling.
- Module Design: Provides a recommended directory structure for organizing Terraform modules and environments.
- Use Case: When developing a new microservice on GCP using Cloud Run and Cloud SQL, this Skill will guide you through setting up the Terraform configuration, including provider setup, resource definitions, IAM roles, and secret management, ensuring adherence to best practices.
Quick Start
Use the terraform-gcp-expert skill to generate a basic Terraform configuration for a Cloud Run service in GCP.