AWS Ecosystem

Automate AWS CLI and Terraform provisioning patterns for multi-account environments.

2|1|Updated Feb 2, 2024
One-click install
npx skills add https://github.com/mtaku3/nix-config --skill aws-ecosystem
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: AWS Ecosystem
Source: https://github.com/mtaku3/nix-config/tree/main/modules/home/app/dev/claude-code/skills/aws-ecosystem
Command: npx skills add https://github.com/mtaku3/nix-config --skill aws-ecosystem

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The AWS ecosystem guidance consolidates configuration patterns, authentication flows, and IaC best practices to reduce setup time and misconfigurations when working with AWS CLI and Terraform.

Core Features & Use Cases

  • AWS CLI configuration and authentication patterns (SSO, profile switching, and token refresh)
  • Cross-account access via assume_role and chained roles
  • OIDC federation for CI/CD pipelines
  • Terraform provider configurations, backends, and default_tags
  • Security and governance guidance (MFA, least privilege, and secure credentials)

Use Case: When migrating multiple accounts or deploying infrastructure across environments, apply these patterns to ensure consistent authorization, region handling, and state management.

Quick Start

Use the AWS ecosystem skill to audit and align your AWS CLI and Terraform setup with the patterns described in SKILL.md.

Frequently Asked Questions about AWS Ecosystem

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

FAQPage Schema
How do I configure AWS CLI SSO for Terraform multi-account environments?

To configure AWS CLI SSO for Terraform, use AWS CLI v2 with SSO support to set up profile switching and token refresh, then apply Terraform AWS provider configurations for cross-account access via assume_role. This ensures consistent authorization across multi-account environments.

What's the best way to manage Terraform remote state in AWS?

The best way to manage Terraform remote state in AWS is using S3 backends with DynamoDB locking. This pattern secures state files and prevents concurrent modification conflicts during infrastructure provisioning across development, staging, and production environments.

Can I use OIDC federation for AWS authentication in CI/CD pipelines?

Yes, you can use OIDC federation for AWS authentication in CI/CD pipelines. This pattern eliminates long-lived credentials by implementing secure credential handling via IAM roles or credential_process, ensuring least privilege access for automated infrastructure deployments.

Do I need AWS CLI v2 to use SSO with Terraform?

Yes, AWS CLI v2 is required for SSO support with Terraform workflows. The AWS ecosystem patterns depend on v2's native SSO authentication, profile switching, and token refresh capabilities to establish secure credential handling for infrastructure provisioning.

How do I apply default_tags in Terraform AWS provider configurations?

To apply default_tags in Terraform AWS provider configurations, define them within the provider block to ensure consistent tagging across all resources. This pattern reduces misconfigurations and maintains governance when deploying infrastructure across multiple AWS accounts and environments.