Skip to content

Commit

Permalink
Merge pull request #28 from pbs/CAT-24267-ignore-subdomains
Browse files Browse the repository at this point in the history
add a lifecycle rule to ignore changes on sub_domains
  • Loading branch information
brianmlink authored Sep 6, 2024
2 parents bbca92b + 9330a25 commit 38eb477
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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.

Expand Down
6 changes: 6 additions & 0 deletions domains.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,10 @@ resource "aws_amplify_domain_association" "domain" {
prefix = sub_domain.value.prefix
}
}
lifecycle {
ignore_changes = [
sub_domain
]
}

}

0 comments on commit 38eb477

Please sign in to comment.