What problem does it solve?
This Skill provides comprehensive guidance and commands for managing Terraform state files, ensuring data integrity, security, and efficient collaboration in infrastructure as code workflows.
Core Features & Use Cases
- Remote Backend Configuration: Set up secure and collaborative state storage using AWS S3, Azure Blob Storage, or Google Cloud Storage.
- State Operations: Perform essential tasks like listing, showing, moving, importing, and removing resources from the state.
- Workspace Management: Effectively manage different environments (dev, staging, prod) using Terraform workspaces.
- Recovery & Migration: Recover from state corruption or deletion and migrate state between backends.
- Drift Detection: Identify and address discrepancies between your Terraform state and actual infrastructure.
- Use Case: Securely configure an S3 backend with DynamoDB for state locking, manage multiple environments using workspaces, and recover a corrupted state file using versioning.
Quick Start
Use the terraform-state-manager skill to list all resources in the current Terraform state.