Terraform to create the load balancer for CF system and app domains
This module will spin an ALB for CF.
Inputs - Required:
resource_tags
- AWS tags to apply to resourcesvpc_id
- AWS VPC Idsubnet_ids
- The AWS Subnet Id to place the lb intoapps_domain
- url used for apps domainsystem_domain
- url used for system domainroute53_zone_id
- Route53 zone idsecurity_groups
- security group idsapps_acm_arn
- ACM arn for the apps certificatessystem_acm_arn
- ACM arn for the system certificates
Inputs - Optional:
enable_route_53
- Disable if using CloudFlare or other DNS (default = 1, to disable, set = 0)internal_lb
- Determine whether the load balancer is internal-only facing (default = true)
Outputs:
dns_name
- The A Record for the created load balancerlb_name
- Name of the load balancer. Map this value in your cloud configlb_target_group_name
Name of the target group