Skip to content

Learn how to test infrastructure in AWS using Terratest

License

Notifications You must be signed in to change notification settings

sebastianczech/aws-terratest-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test IaC on AWS

Learn how to test Infrastructure as Code on AWS cloud with Terratest.

Welcome

How you ever manually tested infrastructure deployed on AWS ? Is your IaC executed in pipeline ? Do you need automated way to prove, that code, which you prepared, is working ? If you've answere yes for any of this questions, then that course could help you with automating tests of the infrastructure, which you can use in your pipeline and which will help in proving, that code is working as expected.

  • Who is this for: DevOps engineers, Cloud engineers.
  • What you'll learn: Build basic tests for IaC on AWS
  • What you'll build: Tests for simple IaC.
  • Prerequisites: Basic knowledge about AWS and Terraform.
  • How long: This course takes less than 1 hour to complete.

In this course, you will:

  1. Check out architecture diagram and fill missing parts in Terraform code to deploy infrastructure.
  2. Extend skeleton with Terratest to check Terraform output values.
  3. Verify if Terraform configuration is idempotent.
  4. Override variables values defined in terraform.tfvars
  5. Destroy whole infrastructure after finishing tests.

Please note, that IaC prepared in course is using resources from AWS Free Tier.

How to start this course

start-course

  1. Right-click Start course and open the link in a new tab.
  2. In the new tab, most of the prompts will automatically fill in for you.
    • For owner, choose your personal account or an organization to host the repository.
    • We recommend creating a public repository, as private repositories will use Actions minutes.
    • Scroll down and click the Create repository button at the bottom of the form.
  3. After your new repository is created, wait about 20 seconds, then refresh the page. Follow the step-by-step instructions in the new repository's README.

Get help: Contact with authorReview the GitHub status page

© 2023 Sebastian Czech • Code of ConductMIT License

About

Learn how to test infrastructure in AWS using Terratest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published