filmov
tv
Automated IaC testing with Terraform, AWS and Python
Показать описание
This talk will demonstrate how to engineer high-quality, awesome-to-use, batteries-included Terraform modules.
It is aimed at infrastructure engineers who are of intermediate level with infrastructure as code and Terraform, and are wondering how to test modules and improve their quality.
We will discuss relevance - why and how we can test infrastructure, and what we can learn from application software testing.
Our automated tests can include: pre-commit and standardisation tests, Terraform example tests, basic infrastructure tests, functional tests, compatibility tests.
We will demonstrate some tests using:
1 - pre-commit: terraform lint, terraform docs, tfsec, checkov
2 - Python and Terraform, specifically pytest and tftest.
We will show how these can be run locally against Terraform cloud, and remotely in a CI pipeline on Github.
We will demonstrate how testing can ensure we will always have working code examples, and that our module/s are easy to use, even when they need to be fixed and improved.
Speaker: Bjorn Olsen
HashiCorp provides infrastructure automation software for multi-cloud environments, enabling enterprises to unlock a common cloud operating model to provision, secure, connect, and run any application on any infrastructure. HashiCorp open source tools Vagrant, Packer, Terraform, Vault, Consul, Nomad, Boundary, and Waypoint allow organizations to deliver applications faster by helping enterprises transition from manual processes and ITIL practices to self-service automation and DevOps practices.
It is aimed at infrastructure engineers who are of intermediate level with infrastructure as code and Terraform, and are wondering how to test modules and improve their quality.
We will discuss relevance - why and how we can test infrastructure, and what we can learn from application software testing.
Our automated tests can include: pre-commit and standardisation tests, Terraform example tests, basic infrastructure tests, functional tests, compatibility tests.
We will demonstrate some tests using:
1 - pre-commit: terraform lint, terraform docs, tfsec, checkov
2 - Python and Terraform, specifically pytest and tftest.
We will show how these can be run locally against Terraform cloud, and remotely in a CI pipeline on Github.
We will demonstrate how testing can ensure we will always have working code examples, and that our module/s are easy to use, even when they need to be fixed and improved.
Speaker: Bjorn Olsen
HashiCorp provides infrastructure automation software for multi-cloud environments, enabling enterprises to unlock a common cloud operating model to provision, secure, connect, and run any application on any infrastructure. HashiCorp open source tools Vagrant, Packer, Terraform, Vault, Consul, Nomad, Boundary, and Waypoint allow organizations to deliver applications faster by helping enterprises transition from manual processes and ITIL practices to self-service automation and DevOps practices.
Комментарии