generated from burib/terraform-aws-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
# terraform-aws-module-template | ||
# terraform-route53-with-wildcard-acm-module | ||
|
||
## github template to start writing versioned terraform module | ||
### creates a Route53 Public Hosted Zone with Wildcard ACM Certificate validated through dns records. | ||
###### For DNS validation make sure the propagation works by creating the required NS records after the HZ is created. | ||
###### Otherwise the certificate will never get verified and terraform keeps hanging. | ||
|
||
|
||
# Usage example: | ||
```terraform | ||
module "my_awesome_domain" { | ||
source = "github.com/burib/terraform-route53-with-acm?ref=v0" | ||
domain = local.is_prod ? "example.com" : "${var.environment}.example.com" | ||
} | ||
``` |