From 25ed17c6758051cf920aacefcffee4a05b2d4f86 Mon Sep 17 00:00:00 2001 From: Brian Link Date: Fri, 6 Sep 2024 10:13:59 -0400 Subject: [PATCH 1/2] add a lifecycle rule to ignore changes on sub_domains, because these will come and go as the app is worked on --- domains.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/domains.tf b/domains.tf index 1d845a9..12d59e2 100644 --- a/domains.tf +++ b/domains.tf @@ -15,4 +15,10 @@ resource "aws_amplify_domain_association" "domain" { prefix = sub_domain.value.prefix } } + lifecycle { + ignore_changes = [ + sub_domain + ] + } + } From 9330a250eb4ab0f0c742cf57d0329d510cf8a3eb Mon Sep 17 00:00:00 2001 From: brianmlink Date: Fri, 6 Sep 2024 14:15:12 +0000 Subject: [PATCH 2/2] Running document script --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b141bc1..4cb6d42 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Use this URL for the source of the module. See the usage examples below for more details. ```hcl -github.com/pbs/terraform-aws-amplify-module?ref=0.0.17 +github.com/pbs/terraform-aws-amplify-module?ref=x.y.z ``` ### Alternative Installation Methods @@ -24,7 +24,7 @@ Integrate this module like so: ```hcl module "amplify" { - source = "github.com/pbs/terraform-aws-amplify-module?ref=0.0.17" + source = "github.com/pbs/terraform-aws-amplify-module?ref=x.y.z" # Tagging Parameters organization = var.organization @@ -42,7 +42,7 @@ The easiest way to use this module is to use the AWS console to create an Amplif If this repo is added as a subtree, then the version of the module should be close to the version shown here: -`0.0.17` +`x.y.z` Note, however that subtrees can be altered as desired within repositories.