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

terraform: support required_version upgrades #11515

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bschaatsbergen
Copy link

@bschaatsbergen bschaatsbergen commented Feb 7, 2025

This is still a draft, but the goal is to add support for proposing Terraform core version upgrades via Dependabot by updating the required_version in a Terraform configuration file.

This pull request proposes:

  • A new ReleasesClient to interface with the HashiCorp Release API, providing the ability to retrieve Terraform Core versions. Since Core versions are not available via the Terraform Registry, this client is necessary for version querying. Additionally, all provider binaries are released through this API, offering a potential path to consolidate provider dependency checking under this client in the future.
  • Tbd.
  • Tbd.

Checklist

  • I have run the complete test suite to ensure all tests and linters pass.
  • I have thoroughly tested my code changes to ensure they work as expected, including adding additional tests for new functionality.
  • I have written clear and descriptive commit messages.
  • I have provided a detailed description of the changes in the pull request, including the problem it addresses, how it fixes the problem, and any relevant details about the implementation.
  • I have ensured that the code is well-documented and easy to understand.

This commit adds a new ReleasesClient to interface with the HashiCorp Release API, providing the ability to retrieve Terraform Core versions. Since Core versions are not available via the Terraform Registry, this client is necessary for version querying. Additionally, all provider binaries are released through this API, offering a potential path to consolidate provider dependency checking under this client in the future.
@github-actions github-actions bot added the L: terraform Terraform packages label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: terraform Terraform packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant