Learn how to test Infrastructure as Code on AWS cloud with Terratest.
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:
- Check out architecture diagram and fill missing parts in Terraform code to deploy infrastructure.
- Extend skeleton with Terratest to check Terraform output values.
- Verify if Terraform configuration is idempotent.
- Override variables values defined in
terraform.tfvars
- Destroy whole infrastructure after finishing tests.
Please note, that IaC prepared in course is using resources from AWS Free Tier.
- Right-click Start course and open the link in a new tab.
- 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.
- 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 author • Review the GitHub status page
© 2023 Sebastian Czech • Code of Conduct • MIT License