FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

change version specifiers to specify minimum versions

Merged Dr Rich Wareham requested to merge update-version-spec into master

From https://www.terraform.io/docs/language/modules/develop/providers.html:

If you are writing a shared Terraform module, constrain only the minimum required provider version using a >= constraint. This should specify the minimum version containing the features your module relies on, and thus allow a user of your module to potentially select a newer provider version if other features are needed by other parts of their overall configuration.

We were previously using ~> for all specifiers which breaks consumers of the module who rely on, e.g., k8s provider resources only present in the 2.4 release.

Merge request reports

Pipeline #126648 passed

Pipeline passed for 6aef73f0 on update-version-spec

Merged by Dr Rich WarehamDr Rich Wareham 3 years ago (Oct 20, 2021 10:40am UTC)

Loading

Pipeline #126650 passed

Pipeline passed for ee636905 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading