Adding kitchen-terraform to a Terraform project
Once Bundler is installed, add kitchen-terraform to the project's Gemfile:
source "https://rubygems.org/" do gem "kitchen-terraform", "~> 3.0" end
Then, use Bundler to install the gems:
kitchen-terraform provides three Test Kitchen plugins which must be used together in the Test Kitchen configuration in order to successfully test Terraform configuration:
a provisioner that applies changes to existing Terraform state;
a verifier that verifies the state and behaviour of resources in the Terraform state.
Refer to the gem documentation for more information about kitchen-terraform's design and behaviour.
Refer to the Getting Started Tutorial for a detailed walkthrough of setting up and using kitchen-terraform.