Skip to content

Commit 7dd6a0d

Browse files
committed
Adjust basic example to variable changes
1 parent b638848 commit 7dd6a0d

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

examples/basic/README.md

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

3-
This provides example on how to use terraform-aws-acm-multiple-hosted-zone module.
3+
This example provides guides on how to use terraform-aws-acm-multiple-hosted-zone module.
44

55
## Usage
66

@@ -13,7 +13,7 @@ terraform apply tfplan.out
1313
```
1414

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

1818
## Requirements
1919

@@ -35,4 +35,3 @@ No input.
3535
|------|-------------|
3636
| certificate\_arn | n/a |
3737
| certificate\_domains | n/a |
38-

examples/basic/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"
@@ -21,6 +21,6 @@ module "acm" {
2121
]
2222

2323
tags = {
24-
Name = "Test ACM request with multiple hosted zones"
24+
Name = "ACM certificate with multiple hosted zones"
2525
}
2626
}

examples/basic/providers.tf

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
provider "aws" {
22
version = "~> 2.61"
33
region = "us-west-2"
4-
}
4+
}
5+

0 commit comments

Comments
 (0)