operating-provision

Provision AWS infrastructure with Terraform for staging and production environments.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/k2works/getting-started-algorithm --skill operating-provision
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: operating-provision
Source: https://github.com/k2works/getting-started-algorithm/tree/main/.agents/skills/operating-provision
Command: npx skills add https://github.com/k2works/getting-started-algorithm --skill operating-provision

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually configuring AWS resources for staging and production is time‑consuming, error‑prone, and difficult to keep consistent. This Skill automates the entire provisioning workflow with Terraform, delivering repeatable and reliable infrastructure.

Core Features & Use Cases

  • State Management: S3 bucket with DynamoDB table for Terraform state locking.
  • Resource Orchestration: Sequential creation of IAM roles, networking, databases, container registries, and compute resources.
  • Modular Architecture: Reusable Terraform modules and environment‑specific live directories for staging and production.
  • Testing Support: Integration with LocalStack and Terratest for local and integration testing.
  • Safe Cleanup: Reverse‑order destruction process with deletion protection handling.

Quick Start

Ask the operating-provision skill to initialize Terraform, plan the infrastructure, and apply the configuration for the desired environment.

Frequently Asked Questions about operating-provision

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate AWS provisioning with Terraform for staging and production environments?

Automate AWS provisioning by using Terraform to sequentially create IAM roles, VPC networking, RDS databases, ECR repositories, and ECS clusters through reusable modules and environment-specific live directories for staging and production.

What is the best way to manage Terraform state locking on AWS?

Manage Terraform state locking by provisioning an S3 bucket with a DynamoDB table to safely coordinate state files across staging and production environments during automated infrastructure deployments.

Do I need aws-vault to handle AWS credentials for Terraform infrastructure as code?

Yes, you need aws-vault for secure credential handling when running Terraform configurations to provision AWS infrastructure across staging and production environments.

Can I test Terraform AWS provisioning locally before applying changes to production?

Yes, you can test AWS provisioning locally using LocalStack for local emulation and Terratest for integration testing before applying Terraform configurations to staging or production environments.

How do I safely destroy AWS resources provisioned with Terraform without hitting deletion protection?

Safely destroy AWS resources by following a reverse-order destruction process that properly handles deletion protection for provisioned infrastructure like RDS databases and S3 state buckets.