Using Terratest to test your infrastructure

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • terratest-examples

    🧪 Example repo to showcase some Terratest

  • To focus on what the code does, rather than copying and pasting, you can get the code from here. I will still paste relevant code snippets into this post to help understanding.

  • terratest

    Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.

  • This post is going to get you started with using Terratest to help test your infrastructure changes. Terratest describes itself as:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • aws-sdk-go

    AWS SDK for the Go programming language.

  • You can, if required, also pull in the aws-sdk-go package for more detailed API calls to test your infrastructure. I've used the ECR and ECS packages to help understand what is running in an ECS cluster etc.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts