for-aws icon indicating copy to clipboard operation
for-aws copied to clipboard

Internal ELB Support

Open seriousben opened this issue 8 years ago • 1 comments

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 avatar Mar 28 '17 18:03 seriousben

@seriousben thanks for the suggestion.

kencochrane avatar Mar 29 '17 18:03 kencochrane