Back to browse
terraform
officialplatinum (7/8)Clean scan
Install
mayros skill install terraform
mayros skill install [email protected]
HCL modules, AWS/GCP/Azure providers, state management, workspaces
README
@apilium/terraform
Infrastructure as Code skill for Mayros -- AWS, GCP, and Azure providers, modules, state management, and plan/apply workflows.
Installation
Copy this skill directory into your Mayros skills folder:
cp -r skills/terraform ~/.mayros/skills/terraform
Or install via the Mayros CLI:
mayros skill install @apilium/terraform
Prerequisites
Install Terraform:
# macOS
brew tap hashicorp/tap
brew install hashicorp/tap/terraform
# Linux
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
sudo apt update && sudo apt install terraform
Verify: terraform version
Usage
Once configured, the agent can:
- Providers: Configure AWS, GCP, and Azure providers with version constraints
- Resources: Create VPCs, subnets, EC2 instances, S3 buckets, security groups
- Modules: Use community and custom modules for reusable infrastructure
- Variables: Define inputs with validation, use locals and outputs
- State: List, show, move, import, and manage Terraform state
- Workspaces: Create and switch between dev, staging, and prod environments
- Plan/Apply: Preview changes, apply infrastructure, handle drift
Example prompts
"Create a VPC with public and private subnets on AWS"
"Show me the Terraform plan for this configuration"
"Import my existing S3 bucket into Terraform state"
"Set up a GCP project with Cloud Run"
"Create a module for a standard web application stack"
Semantic Predicates
| Predicate | Scope | Description |
|-----------|-------|-------------|
| tf:plan_generated | agent | Plans generated by the agent |
| tf:resource_created | agent | Resources created via Terraform |
| tf:infra_context | namespace | Infrastructure context for enrichment |
License
MIT
Versions
Comments
Sign in to leave a comment.
Loading comments...