Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a lifecycle rule to ignore changes on sub_domains #28

Merged
merged 2 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
]
}

}