Some checks failed
check agents / check (push) Failing after 13s
The cp1-solution-architecture-agent and the sa-aws/azure/gcp-cloud MCP servers, a separate stream from the individual and sub-agent patterns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.7 KiB
1.7 KiB
name, description, metadata
| name | description | metadata | ||||
|---|---|---|---|---|---|---|
| aws-iac-patterns | Terraform patterns for AWS products that validate against one pinned version of the hashicorp/aws provider: VPC, IAM roles, ECS on Fargate, Lambda, RDS, S3, Secrets Manager and CloudWatch. Use when writing Terraform for an AWS product, before writing the resource. |
|
AWS IaC patterns
Every pattern here passes terraform validate against hashicorp/aws 6.10.0. A test runs that on each of them, so an argument you copy from a pattern is in the right block.
How to use them
- Write
assets/versions.tfto your working copy asterraform/versions.tf, unchanged. It pins the provider version these patterns and theterraform_schematool describe. Declare theregionvariable interraform/variables.tf. - For each Element in the Target architecture, read the reference for its product with
load_skill_resourceand start from its pattern. Read only the references for products the Target architecture uses. - Change the pattern to meet the Element's Checks. For a setting the pattern does not show, call
terraform_schemawithfindset to its name before you write it.
| Product | Reference |
|---|---|
| VPC | references/vpc.md |
| IAM role | references/iam-role.md |
| ECS on Fargate | references/ecs-fargate.md |
| Lambda | references/lambda.md |
| RDS PostgreSQL | references/rds.md |
| S3 bucket | references/s3.md |
| Secrets Manager | references/secrets-manager.md |
| CloudWatch alarm | references/cloudwatch.md |
For a product with no reference, use terraform_schema to find its resource type and arguments. Never write an argument you haven't confirmed.