-
Notifications
You must be signed in to change notification settings - Fork 10
Description
I found that domain support was removed in commit 4bc0a3a, but since there was no context in the commit message, I was wondering if there was some reason for removing the support for domains for the web containers 🤔
I am assuming that the previous implementation had a specific format for the sub-domain
terraform-aws-alb-web-containers/main.tf
Line 31 in 4bc0a3a
| fqdn = "${var.name}.${var.environment}.${var.zone_name}" |
But I think it would be useful if we included a provision to use a route53 domain for a web service. It is probably a missing part of a web service module. The implementation could be similar to how the module accepts variables for the ALB certificates.
If you are open to it, I could come up with a pull request for it.
Personal wish-list : I would prefer if,
- we created the Amazon Certificate Manager ( ACM ) certificates for the domains as well, but I am okay with passing an Amazon Resource Name ( ARN ) too ( because my use-case uses a wildcard certificate for the whole sub-domain 😄 )
- we created basic cloudwatch metric alarms -
HTTPCode_ELB_5xx_CountandHTTPCode_Target_5xx_Count; but I understand that different people might have their own metrics, conditions and thresholds.
PS : These are holding me back from using this module directly in my project and not having to redefine the whole module.