Skip to content

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

@dgteixeira

Description

@dgteixeira

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions