Open to-bar opened 1 month ago
This is a 🙋♂️ feature or enhancement.
bundle exec rspec
terraform validate sets exit code 1 on failed validation, e.g.:
terraform validate
Error: Reference to undeclared input variable
$ echo $? 1
But terraspace not:
$ terraspace validate epi_cluster => terraform validate │ Error: Reference to undeclared input variable $ echo $? 0
terraspace validate <stack>
echo $?
config/app.rb
Terraspace.configure do |config| config.all.exit_on_fail.validate = true end
terraspace all validate
This is a 🙋♂️ feature or enhancement.
bundle exec rspec
to verify this)Summary
terraform validate
sets exit code 1 on failed validation, e.g.:But terraspace not:
Context
How to Test
terraspace validate <stack>
echo $?
to check exit codeconfig/app.rb
:terraspace all validate
echo $?
to check exit codeVersion Changes