Skip to content

Workflow for updating Terraform required_version? #41

@dkirrane

Description

@dkirrane

Would it make sense to have an option in the create-run action to use the version set in the Terraform config i.e. required_version?

terraform {
  required_version = "1.6.5"
}

Currently, when I update required_version in a pull request the Speculative Plan fails because of the workspace is currently using Terraform 1.3.6:
image


From Terraform Cloud I can retry the run but the Pull Request workflow run will still be marked as failed.

image

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