Skip to content

Commit

Permalink
Adjust without-domain-validation example to variable change
Browse files Browse the repository at this point in the history
  • Loading branch information
ringanta committed May 10, 2020
1 parent 7dd6a0d commit 5a1c5ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 deletions examples/without-domain-validation/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Terraform AWS ACM Multiple Hosted Zone Example

This provides example on how to use terraform-aws-acm-multiple-hosted-zone module without creating or overwriting existing domain validation records on Route53.
This example provides guides on how to use terraform-aws-acm-multiple-hosted-zone module without creating domain validation records on Route53.
In general it is okay to overwrite domain validation records on Route53.
This example cater to the case in which we don't want to overwrite existing domain validation for any reason.

## Usage

Expand All @@ -13,7 +15,7 @@ terraform apply tfplan.out
```

Note that this example may create resources that cost money.
Run `terraform destroy` when you don't need the resources anymore.
Run `terraform destroy` to clean up the resources.

## Requirements

Expand Down
12 changes: 6 additions & 6 deletions examples/without-domain-validation/main.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module "acm" {
source = "../../"

domains = [
{
zone = "example.com"
domain = "example.com"
},
domain_name = {
zone = "example.com"
domain = "example.com"
}
subject_alternative_names = [
{
zone = "example.com"
domain = "*.example.com"
Expand All @@ -23,6 +23,6 @@ module "acm" {
validation_set_records = false

tags = {
Name = "Test ACM request with multiple hosted zones"
Name = "ACM request without setting validation records on Route53"
}
}

0 comments on commit 5a1c5ac

Please sign in to comment.