Closed adrienthebo closed 5 years ago
@adrienthebo Attempting to run this inside Docker (using make docker_run
), I get the following error on kitchen verify
:
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>> Failed to complete #verify action: [Error running 'git ls-remote "https://github.com/lagrange-automation/inspec-terraform" "master*"': fatal: Not a git repository: ../../.git/modules/modules/datastore
] on default-local
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
This looks like it might have been a side-effect of running inside a submodule directory, so not a blocker.
This pull request adds the
terraform_outputs
InSpec profile and adds test coverage to the module outputs.This pull request also fixes up a small refactoring error in the InSpec tests.