- Updated service template structure in `ARCHITECTURE.md` and `README.md` for clarity and usability. - Enhanced bilingual documentation across skills, increasing the number of available skills from 15 to 25. - Added new sections on event-driven architecture, inter-service communication, and performance optimization. - Improved formatting and removed outdated references to streamline the documentation experience.
1.3 KiB
1.3 KiB
name, description
| name | description |
|---|---|
| infrastructure-as-code | Infrastructure as Code patterns for GoodGo platform including Terraform modules, Kubernetes operators, infrastructure testing, GitOps workflows, and multi-environment management. |
Infrastructure as Code Patterns
When to Use This Skill
Use this skill when:
- Managing infrastructure with code
- Implementing Terraform modules
- Setting up GitOps workflows
- Creating Kubernetes operators
- Testing infrastructure changes
Key Patterns
Terraform Modules
# Reusable module
module "postgresql" {
source = "../../modules/postgresql"
database_name = "goodgo"
environment = "staging"
}
GitOps with ArgoCD
# Automated sync from Git
spec:
source:
repoURL: https://github.com/goodgo/platform
path: deployments/production/kubernetes
syncPolicy:
automated:
prune: true
selfHeal: true
Best Practices
- Keep all infrastructure in version control
- Create reusable Terraform modules
- Test infrastructure changes before applying
- Use GitOps for Kubernetes deployments
- Separate environments completely
Resources
- Terraform Documentation
- Deployment Kubernetes
- Skill Source:
.cursor/skills/infrastructure-as-code/SKILL.md