Skip to content
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

Add support for testing the terraform block #696

Open
harleypig opened this issue Apr 21, 2023 · 1 comment
Open

Add support for testing the terraform block #696

harleypig opened this issue Apr 21, 2023 · 1 comment

Comments

@harleypig
Copy link

Feature Request

Feature description:
Support testing the terraform {} block, to ensure a minimum version, specific providers and versions, etc.

Suggested Solution description ( if you have any ):
I'm not sure how the code is using the plan, so can't offer a suggestion here.

Essentially, I'd like to test that

terraform {
  required_version = ">=1.3.2"
  required_providers {
    blah blah
  }
}

contains a specific version check and specific providers.

@harleypig
Copy link
Author

This might be related to #574

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant