From c14c610171d4c1b23ca46dfb4a8c8f4af20cb217 Mon Sep 17 00:00:00 2001 From: Matt Scafe Date: Tue, 16 May 2023 10:58:26 -0500 Subject: [PATCH] Updated the Version Constraint Syntax to "~>" to allow only the rightmost version component to increment in the Terraform Modules. The main.tf and README files were updated across all of the VCD Modules. --- README.md | 4 ++-- main.tf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4ec6f9e..619f101 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ This Terraform module will deploy DHCP Pools for Routed Data Center Group Networ | Name | Version | |-----------|---------| -| terraform | >= 1.2 | -| vcd | >= 3.8.2 | +| terraform | ~> 1.2 | +| vcd | ~> 3.8.2 | ## Resources diff --git a/main.tf b/main.tf index 55493a4..922d2e5 100644 --- a/main.tf +++ b/main.tf @@ -1,10 +1,10 @@ terraform { - required_version = ">= 1.2" + required_version = "~> 1.2" required_providers { vcd = { source = "vmware/vcd" - version = ">= 3.8.2" + version = "~> 3.8" } } }