This examples shows the usages of the module for the options: enable_load_balanced and enable_target_group_connection.
Shows how to use the option enable_load_balanced with a Route53 DNS and SSL. Requires to provide a DNS name as variable.
Shows how to use the option enable_load_balanced with a custom path.
Shows how to use the option enable_target_group_connection to completly control the loadbalancer outside the service module.
Terraform is managed via the tool tfenv. Ensure you have installed tfenv. And install via tfenv the required terraform version as listed in .terraform-version
source ./generate-ssh-key.sh
terraform init
terraform plan
terraform apply
Once done you can test the service via the URL on the console. It can take a few minutes before the service is available
terraform destroy