From f710b0d60841d19cbb5b015503d190c4a4dc0065 Mon Sep 17 00:00:00 2001 From: Matt Scafe Date: Tue, 16 May 2023 10:58:46 -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 | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7157d9a..8640dc3 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ This Terraform module will deploy Virtual Applications (vApps) into an existing | 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 9d133a4..37e3df8 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" + source = "vmware/vcd" + version = "~> 3.8" } } }