cloud-run-agent-architect
SKILL.md
cloud-run-agent-architect
This skill helps you provision secure, reproducible infrastructure on Google Cloud for your AI agents using Terraform. It follows the "least-privilege" principle and handles Secret Manager integration.
Usage
Ask Antigravity to:
- "Generate Terraform files for my Cloud Run agent"
- "Create a secure service account for my agent"
- "Add my Reddit and Google Docs secrets to Terraform"
Infrastructure Pattern
The generated infrastructure includes:
- Cloud Run Service: Configured with automated secret injection and VPC egress if needed.
- Dedicated Service Account: Granted specific roles like
roles/aiplatform.userandroles/secretmanager.secretAccessor. - Secret Manager: Provisioned for sensitive API keys (e.g.,
REDDIT_CLIENT_ID,DK_API_KEY). - Artifact Registry: A private repository to host the agent's container images.
Terraform Template
Refer to the included resources/main.tf and resources/variables.tf for the standard implementation.
Key IAM Roles
roles/aiplatform.user: To call Vertex AI models.roles/logging.logWriter: To export agent traces.roles/storage.objectAdmin: If the agent saves artifacts (e.g., images to GCS).roles/secretmanager.secretAccessor: To read secrets at runtime.
Weekly Installs
1
Repository
googlecloudplat…el-demosGitHub Stars
251
First Seen
4 days ago
Security Audits
Installed on
mcpjam1
claude-code1
junie1
windsurf1
zencoder1
crush1