Skip to content

Commit 5a1c5ac

Browse files
committed
Adjust without-domain-validation example to variable change
1 parent 7dd6a0d commit 5a1c5ac

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

examples/without-domain-validation/README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Terraform AWS ACM Multiple Hosted Zone Example
22

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

57
## Usage
68

@@ -13,7 +15,7 @@ terraform apply tfplan.out
1315
```
1416

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

1820
## Requirements
1921

examples/without-domain-validation/main.tf

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
module "acm" {
22
source = "../../"
33

4-
domains = [
5-
{
6-
zone = "example.com"
7-
domain = "example.com"
8-
},
4+
domain_name = {
5+
zone = "example.com"
6+
domain = "example.com"
7+
}
8+
subject_alternative_names = [
99
{
1010
zone = "example.com"
1111
domain = "*.example.com"
@@ -23,6 +23,6 @@ module "acm" {
2323
validation_set_records = false
2424

2525
tags = {
26-
Name = "Test ACM request with multiple hosted zones"
26+
Name = "ACM request without setting validation records on Route53"
2727
}
2828
}

0 commit comments

Comments
 (0)