# k1LoW/awspec

RSpec tests for your AWS resources.

Repository: https://github.com/k1LoW/awspec
Canonical: https://ross.abutalabs.com/products/awspec
Language: Ruby
License: MIT
License Family: permissive
Topics: aws, rspec
Last push: 2026-08-30T00:30:25+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 56, longevity 100
- inputs: {"age_days": 4055, "days_push": 4, "days_rel": 212, "gap_med": 68, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1176, forks 190 (observed 2026-09-01T02:14:03.436751+00:00)

## What it is
awspec is a Ruby gem that lets you write RSpec tests for AWS resources, verifying their configuration and state. It provides a CLI for scaffolding specs and supports many AWS resource types, including integration with Terraform outputs.

## Use cases
- test that my EC2 instances are running with the right security groups
- write RSpec tests for AWS infrastructure
- verify VPC and subnet configuration with automated tests
- validate AWS resources created by Terraform
- check SQS queue settings in tests
- infrastructure compliance testing for AWS

## When to choose
- you use Ruby/RSpec and want to test real AWS resource state
- you need infrastructure tests that complement Terraform or CloudFormation
- you want a large library of AWS resource type matchers

## When to avoid
- you use Python (consider moto or pytest-based tools)
- you want policy-as-code compliance scanning rather than RSpec tests
- you need to test non-AWS clouds

## Facets
- artifact type: cli-tool
- maturity: active
- function: testing, cli
- domain: cloud-computing, testing, infrastructure-as-code, developer-tools
- platform: ruby, cli, cross-platform
- tags: aws, rspec, infrastructure-testing, ruby-gem, terraform

## Member repositories
- k1LoW/awspec (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:14:03.436751+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:26:12.234848+00:00, confidence not recorded.
  - readme: https://github.com/k1LoW/awspec (fetched 2026-09-01T02:14:03.436751+00:00, sha 81e634d920f6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
