From abb08b2f5c6fe356017a4e96a6bf1fa343a58346 Mon Sep 17 00:00:00 2001 From: briskt <3172830+briskt@users.noreply.github.com> Date: Fri, 18 Oct 2024 16:26:19 +0800 Subject: [PATCH 1/2] Update README.md to use the correct source in the example code --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c5786a7..7fe83f6 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,10 @@ This module is published in [Terraform Registry](https://registry.terraform.io/m ```hcl module "this" { - source = "github.com/silinternational/terraform-modules//aws/vpc" - app_name = var.app_name + source = "silinternational/vpc/aws" + version = "1.0.1" // this may not reflect the latest version available + + app_name = var.app_name aws_zones = var.aws_zones } From 5a98e3255342964bdd88e6461c0e01b28832a703 Mon Sep 17 00:00:00 2001 From: briskt <3172830+briskt@users.noreply.github.com> Date: Mon, 21 Oct 2024 09:03:08 +0800 Subject: [PATCH 2/2] use semantic "pessimistic" constraint --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7fe83f6..ef756bd 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ This module is published in [Terraform Registry](https://registry.terraform.io/m ```hcl module "this" { source = "silinternational/vpc/aws" - version = "1.0.1" // this may not reflect the latest version available + version = "~> 1.0" // this may not reflect the latest version available app_name = var.app_name aws_zones = var.aws_zones