-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraform Version Checking #128
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall this is looking real good, nice work!
website/docs/plugin/testing/acceptance-tests/tfversion-checks.mdx
Outdated
Show resolved
Hide resolved
website/docs/plugin/testing/acceptance-tests/tfversion-checks.mdx
Outdated
Show resolved
Hide resolved
website/docs/plugin/testing/acceptance-tests/tfversion-checks.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Brian Flad <bflad417@gmail.com>
Co-authored-by: Brian Flad <bflad417@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 🚀 Nice work!
Co-authored-by: Brian Flad <bflad417@gmail.com>
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Implements Terraform Version Checking functionality as described in TF-643 that allows developers to create and use generic checks that check logic against the Terraform CLI Version to either skip or fail a test immediately before any test steps are run.
This PR:
TerraformVersionChecks
field to theTestCase
structInitHelper()
to retrieve the Terraform CLI version fromtfexec
tfversion
package that exposes an interface for implementing custom version checks and contains built-in version checks