Skip to content

Commit ed37744

Browse files
authored
docs: Add note in README about CloudFront with ACM (#79)
1 parent d5083ae commit ed37744

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,34 @@ module "acm" {
2525
}
2626
```
2727

28+
## [Usage with CloudFront](https://aws.amazon.com/premiumsupport/knowledge-center/install-ssl-cloudfront/)
29+
30+
```hcl
31+
# CloudFront supports US East (N. Virginia) Region only.
32+
provider "aws" {
33+
alias = "us-east-1"
34+
region = "us-east-1"
35+
}
36+
37+
module "acm" {
38+
source = "terraform-aws-modules/acm/aws"
39+
40+
providers = {
41+
aws = aws.us-east-1
42+
}
43+
44+
domain_name = "my-domain.com"
45+
zone_id = "Z266PL4W4W6MSG"
46+
47+
wait_for_validation = true
48+
49+
tags = {
50+
Name = "my-domain.com"
51+
}
52+
}
53+
54+
```
55+
2856
## Examples
2957

3058
- [Complete example with DNS validation (recommended)](https://github.com/terraform-aws-modules/terraform-aws-acm/tree/master/examples/complete-dns-validation)

0 commit comments

Comments
 (0)