terraform-google-modules / terraform-google-cloud-datastore

Manages Datastore
https://registry.terraform.io/modules/terraform-google-modules/cloud-datastore/google
Apache License 2.0
22 stars 33 forks source link

Adding tests #3

Closed lilithmooncohen closed 5 years ago

lilithmooncohen commented 5 years ago

Adding test using kitchen-terraform and kitchen-inspec.

Full test output can be seen at: https://gist.github.com/ryanckoch/1663101eefdff5dfd83650837b1f015d

morgante commented 5 years ago

@ryanckoch I've taken a pass at this and think we can get away from the bash testing script entirely. Please give it a pass and see what you think.

@adrienthebo I'm having trouble with how to pick up Terraform outputs for usage in the test verification steps. I tried to follow along with your work on the other module but still couldn't get it to work. Could you please take a pass at updating those so it correctly pulls in outputs for usage within the Inspec tests?

morgante commented 5 years ago

I'm going to go ahead and merge this, @adrienthebo let's do a follow-up PR for using outputs.