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

Able to get latest version, instead of a specific version #1262

Closed
dgteixeira opened this issue Nov 15, 2021 · 1 comment
Closed

Able to get latest version, instead of a specific version #1262

dgteixeira opened this issue Nov 15, 2021 · 1 comment

Comments

@dgteixeira
Copy link

I get an error If I don't specify a version.

plugin "google" {
  enabled = true
  source  = "github.com/terraform-linters/tflint-ruleset-google"
  #deep_check = true
}

Provides the following error:

Failed to load TFLint config. An error occurred:

Error: plugin google: version attribute cannot be omitted when specifying source

Then, specifying latest:

plugin "google" {
  enabled = true
  version = "latest"
  source  = "github.com/terraform-linters/tflint-ruleset-google"
  #deep_check = true
}

Provides the following error:

Error: Failed to fetch GitHub releases: GET https://api.github.com/repos/terraform-linters/tflint-ruleset-google/releases/tags/vlatest: 404 Not Found []

IS there a way to use latest?

@wata727 wata727 transferred this issue from terraform-linters/tflint-ruleset-google Nov 21, 2021
@wata727
Copy link
Member

wata727 commented Nov 21, 2021

Duplicate of #1181

@dgteixeira Thank you for your feedback. I'm curious about the desire to get the latest version. As mentioned in #1181 (comment), I believe that the latest keyword is not important in actual operation. If you have a use case that can only be solved with the latest keyword, please let us know.

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

No branches or pull requests

3 participants