dependabot/cli

This configuration does not support Terraform version 1.8.0

ilsl opened this issue · 2 comments

ilsl commented

In the dependabot docs, it supports version 1.8.0
image

However when I run dependabot update - f job.json I encounter the following error

2:   required_version = \"~\u003e 1.7.0\"\n\nThis configuration does not support Terraform version 1.8.0. To proceed,\neither choose another supported Terraform version or update this version\nconstraint.

Since your tf file has the constraint required_version = "~> 1.7.0" and Dependabot runs Terraform 1.8.0, Terraform refuses to continue. You can make the constraint more permissive required_version = ">= 1.7.0" to fix this.

There's also an open issue to support any required version dependabot/dependabot-core#5797

Either way this isn't an issue with the Dependabot CLI, so I am going to close this out.

ilsl commented

Thank you for the response Jake