Skip to content

Repository to play with the concept of using terragrunt and awspec to create bdd development for terraform

License

Notifications You must be signed in to change notification settings

jmahowald/terraform-awspec-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is a sample of using awsspec and terragrunt to have more Behavior Driven Design (BDD) with your terraform projects. It utilizes test-kitchen-terraform and kitchen-verifier-awspec to control the lifecycle of test resources and to assert the state of the aws resources. Inspec is also available as a verifier for non aws/machine specific architectures

Do a ./kitchen test to have a vpc stood up (warning, test will first destroy anything you've already created with test kitchen), have behavior tests run against it and tear down if everything is succesfull. Or do ./kitchen converge to create the infrastructure,run kitchen verify to test without being destructive to do some manual investigation, and run kitchen destroy when done

About

Repository to play with the concept of using terragrunt and awspec to create bdd development for terraform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published