cloud-infrastructure

Provisions AWS infrastructure in Terraform across network, identity, data, compute, edge, and observability services.

Updated Jun 4, 2026
One-click install
npx skills add https://github.com/tedeuxx/tadeumendonca-skills --skill cloud-infrastructure-tedeuxx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloud-infrastructure
Source: https://github.com/tedeuxx/tadeumendonca-skills/tree/main/skills/cloud-infrastructure
Command: npx skills add https://github.com/tedeuxx/tadeumendonca-skills --skill cloud-infrastructure-tedeuxx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Choosing and configuring AWS services in Terraform involves dozens of cross-service decisions — VPC versus non-VPC Lambda, NAT versus Interface endpoints, module sourcing, tagging, IAM scoping — and without a single reference each choice gets re-litigated or made inconsistently. This Skill consolidates the full AWS footprint into one Terraform reference so provisioning decisions are made once, with their trade-offs recorded. ## Core Features & Use Cases - End-to-end Terraform conventions: version and provider pinning, Terraform Cloud remote state, single canonical repo layout, input validation blocks, module sourcing policy, and default_tags tagging. - Per-service sections with decisions: VPC, IAM, KMS, Secrets Manager, SSM, Cognito, WAF, DynamoDB, ElastiCache, S3, Lambda, API Gateway, CloudFront, ACM, Route53, SES, SNS, and CloudWatch — each with HCL examples, choices that matter, and a Well-Architected-tagged decision record. - Cost-versus-isolation trade-off guidance: explicit framings such as non-VPC by default, NAT Gateway versus Interface endpoints, and single-account isolation via IAM role boundaries. - Use Case: When adding a new DynamoDB table or deciding whether a Lambda belongs in a VPC, consult the relevant section to apply the established module, tagging, and egress posture instead of re-deriving it. ## Quick Start Ask the agent to provision a new AWS resource or review an existing Terraform configuration using the cloud-infrastructure conventions for the relevant service section.

Frequently Asked Questions about cloud-infrastructure

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

FAQPage Schema
How do I provision AWS infrastructure with Terraform modules?

Prefer official terraform-aws-modules sources first, trusted community modules like cloudposse second, and raw aws_* resources only where no module fits. Pin versions with ~>, call modules directly at root without wrapper layers, and apply tags once via default_tags on the provider.

Should my Lambda function run inside a VPC?

Only when something genuinely requires a private network, such as ElastiCache, RDS, or a private ALB. A Lambda reaching DynamoDB, S3, SES, or Cognito over public AWS endpoints with IAM can run non-VPC, avoiding the NAT Gateway cost of roughly $33 per month per environment.

NAT Gateway vs VPC Interface endpoints for AWS service access?

NAT Gateway gives one flat egress path to all AWS services and the internet for about $33 per month. Interface endpoints keep traffic on the AWS backbone at roughly $7 per endpoint per AZ, so they suit few services needing privacy, while NAT suits many services or internet egress.

How do I validate Terraform input variables before apply?

Give every variable a type and a validation block so bad values fail at plan time. Use can(regex(...)) for formats, contains([...]) for enums, and cidrhost() for network CIDRs, with one concern per validation block and a clear error message.

Does this Terraform setup support multiple environments?

Yes, through one canonical Terraform root with per-environment tfvars files and one Terraform Cloud workspace per environment selected via TF_WORKSPACE. Per-environment differences use var.environment conditionals rather than duplicated configuration trees.

When should I not use this AWS Terraform reference?

Do not use it for the CI/CD pipeline that runs plan and apply, branching strategy, or the OIDC permission model, which belong to the devops skill. It also documents AWS specifically and is not multi-cloud guidance despite the provider-agnostic name.