Skip to content

Releases: robmorgan/infraspec

v0.1.1

29 Nov 01:00

Choose a tag to compare

Changelog

v0.1.0

25 Nov 06:41

Choose a tag to compare

This release introduces InfraSpec Virtual Cloud - a hosted AWS emulator that lets you test your infrastructure without an AWS account, with near instant results.

☁️ Virtual Cloud Integration

Run your infrastructure tests against InfraSpec's Virtual Cloud emulator instead of real AWS. Tests run in seconds instead of minutes with no cleanup required.

# Run tests against Virtual Cloud
infraspec --virtual-cloud features/aws/s3/ 

Virtual Cloud currently supports:

  • S3 - Buckets, objects, versioning, encryption
  • DynamoDB - Tables, indexes, auto-scaling
  • RDS - MySQL and PostgreSQL instances

🚀 New Features

Terraform Improvements

  • Copy to temp directory - Isolate test runs by copying Terraform configs to temp directories
  • Environment variable endpoints - Use AWS_ENDPOINT_URL_* env vars instead of provider override files
  • Random suffix variables - Lowercase-only random suffixes for AWS resource compatibility

S3 & RDS Step Definitions

  • Read bucket names from Terraform outputs: the S3 bucket name is read from Terraform output "bucket_name"
  • Read DB instance IDs from Terraform outputs: the RDS instance ID is read from Terraform output "db_id"
  • Virtual-hosted style domain support for S3

Developer Experience

  • Plain text formatter - New output format for debugging
  • Improved error messages - Better errors when virtual cloud is enabled without a token
  • CI/CD optimizations - Test workflow reduced from 10+ minutes to ~2-3 minutes

📚 Documentation

  • Comprehensive Virtual Cloud documentation
  • Significantly improved README
  • New getting started guides

What's Changed

Full Changelog: v0.0.14...v0.1.0

v0.0.14

27 Jul 02:46
3c9ee73

Choose a tag to compare

This releases introduces the new http provider.

🌐 HTTP Provider

Users can now use the http provider to test HTTP endpoints including GET, POST methods, form data and file uploads. For example, the following feature ensures an API is available and returns the correct status code.

Feature: HTTP Requests
  As a DevOps Engineer
  I want to test HTTP endpoints
  So that I can validate API functionality and infrastructure

  Scenario: Test basic GET request
    Given I have a HTTP endpoint at "http://localhost:8000/get"
    When I make a GET request
    Then the HTTP response status should be 200

And this feature tests a file upload:

  Scenario: Test file upload with form data
    Given I have a HTTP endpoint at "http://localhost:8000/post"
    And I have a file "../../examples/http/test-file.txt" as field "file"
    And I set content type to "multipart/form-data"
    And I set the form data to:
      | Name | Value                                |
      | uuid | 191152a9-0bd6-4db0-999d-12787295f1ec |
      | type | document                             |
    When I make a POST request
    Then the HTTP response status should be 200

What's Changed

  • feat: add HTTP request support for API testing by @robmorgan in #49

Full Changelog: v0.0.13...v0.0.14

v0.0.13

23 Jul 05:47
c63270d

Choose a tag to compare

What's Changed

Full Changelog: v0.0.12...v0.0.13

v0.0.12

23 Jul 05:23
6f026a0

Choose a tag to compare

What's Changed

Full Changelog: v0.0.11...v0.0.12

v0.0.11

23 Jul 04:10
8b080a9

Choose a tag to compare

What's Changed

Full Changelog: v0.0.10...v0.0.11

v0.0.10

23 Jul 03:33
c6d37ad

Choose a tag to compare

What's Changed

Full Changelog: v0.0.9...v0.0.10

v0.0.9

23 Jul 02:56
4336953

Choose a tag to compare

What's Changed

Full Changelog: v0.0.8...v0.0.9

v0.0.8

23 Jul 02:12
649af5c

Choose a tag to compare

What's Changed

Full Changelog: v0.8.0...v0.0.8

v0.0.7

22 Jul 01:19
96a7e17

Choose a tag to compare

What's Changed

  • feat: GitHub Templates & Doc Tweaks by @robmorgan in #21
  • chore(deps): bump LocalStack/setup-localstack from 0.2.3 to 0.2.4 by @dependabot[bot] in #22
  • chore(deps): bump actions/setup-go from 4 to 5 by @dependabot[bot] in #23
  • chore(deps): bump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.37.1 to 1.44.0 by @dependabot[bot] in #24
  • chore(deps): bump golang.org/x/net from 0.31.0 to 0.42.0 by @dependabot[bot] in #31
  • chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.82.0 to 1.83.0 by @dependabot[bot] in #27
  • chore(deps): bump github.com/aws/aws-sdk-go-v2/service/sts from 1.33.1 to 1.34.0 by @dependabot[bot] in #28
  • chore: minor readme tweak by @robmorgan in #33
  • chore(deps): bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.227.0 to 1.231.0 by @dependabot[bot] in #30
  • chore: bump localstack to 4.6.0 by @robmorgan in #34
  • feat: add additional gha workflows by @robmorgan in #32

New Contributors

Full Changelog: v0.0.6...v0.0.7