terraform-aws

Review Terraform AWS provider configurations for misconfiguration, unsafe changes, and import risks.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/led8/.codex --skill terraform-aws-led8
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-aws
Source: https://github.com/led8/.codex/tree/main/skills/terraform-aws
Command: npx skills add https://github.com/led8/.codex --skill terraform-aws-led8

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Helps engineers and DevOps teams avoid costly mistakes and surprises when using the HashiCorp AWS provider by providing targeted guidance on provider configuration, authentication patterns, tagging strategy, multi-region usage, imports, and AWS-specific safety issues.

Core Features & Use Cases

  • Provider & Auth Guidance: Advice on provider configuration, role assumption, profiles, web identity, and credential best practices to keep authentication predictable and secure.
  • Operational Patterns: Recommendations for tagging, multi-region resource handling, provider version pinning, and use of default_tags to enforce organization policy.
  • Import, Plan, and Safety Reviews: Playbook for controlled terraform import/migration, plan inspection, and guardrails to prevent unintended replacements or dangerous production changes.
  • Use Case: Import an existing VPC from eu-west-1, validate provider region and tags, then produce a safe plan highlighting replacement risks and required tag fixes.

Quick Start

Review my Terraform AWS configuration for provider setup, authentication, tagging, imports, and plan safety and return a prioritized list of recommended fixes.

Frequently Asked Questions about terraform-aws

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

FAQPage Schema
How do I review Terraform AWS provider configuration for authentication and safety issues?

To review Terraform AWS provider configuration, you analyze provider setup, authentication patterns, and tagging strategies to identify misconfiguration, unsafe resource changes, and import risks. This helps keep authentication predictable and secure.

What is the safest way to import an existing AWS resource into Terraform without causing production downtime?

The safest way to import existing AWS resources into Terraform is through a controlled import workflow. This involves validating provider regions and tags, inspecting the plan, and applying guardrails to prevent unintended replacements or dangerous production changes.

How do I enforce organization tagging policy across all AWS resources using Terraform?

You can enforce organization tagging policy in Terraform by using the default_tags configuration block within the AWS provider. This ensures all resources inherit mandatory tags, allowing you to validate configuration and produce a safe plan highlighting required tag fixes.

Does the Terraform AWS provider support multi-region resource imports and plan analysis?

Yes, the Terraform AWS provider supports multi-region resource usage and imports. You can validate provider region settings for resources like a VPC in eu-west-1, inspect the generated plan, and identify AWS-specific failure modes or replacement risks.

Why does my Terraform plan show unintended resource replacements after an AWS import?

Unintended resource replacements after an AWS import occur due to unsafe resource changes or misconfiguration. Reviewing your Terraform plan with targeted safety guardrails helps identify replacement risks, provider version pinning issues, and required tag fixes before applying changes.

Do I need to pin the Terraform AWS provider version to avoid unexpected infrastructure changes?

Yes, you need to pin the Terraform AWS provider version to avoid unexpected infrastructure changes. Provider version pinning is a core operational pattern that prevents unintended replacements and mitigates AWS-specific failure modes during plan analysis.