for-aws
for-aws copied to clipboard
Internal ELB Support
Expected behavior
It would be useful to support internal ELBs (https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-create-internal-load-balancer.html) to have ELBs that are not publicly available.
Having an ELBScheme parameter allowing us to set it to "internal" would be great.
Actual behavior
Information
I was able to make this work with a simple jq script:
#!/bin/bash
url=https://editions-us-east-1.s3.amazonaws.com/aws/edge/Docker.tmpl
jq_script='.Resources.ExternalLoadBalancer.Properties.Scheme = "internal"'
curl -sSL $url | jq "$jq_script" > Docker.tmpl
@seriousben thanks for the suggestion.