tfmermaid-action icon indicating copy to clipboard operation
tfmermaid-action copied to clipboard

`tfmermaid-action` does not work with any Terraform project whose `terraform.required_version` does not include the latest Terraform release

Open mdb opened this issue 1 year ago • 0 comments

Because tfmermaid-action utilizes hashicorp/setup-terraform -- and because tfmermaid-action does not expose an input through which users can specify a desired terraform_version , tfmermaid-action results in the following error when the targeted Terraform module's terraform.required_version does not include the latest Terraform release:

╷
│ Error: Unsupported Terraform Core version
│ 
│   on terraform.tf line 2, in terraform:
│    2:   required_version = "1.5.5"
│ 
│ This configuration does not support Terraform version 1.6.6. To proceed,
│ either choose another supported Terraform version or update this version
│ constraint. Version constraints are normally set for good reason, so
│ updating the constraint may lead to other errors or unexpected behavior.

mdb avatar Jan 08 '24 00:01 mdb