Last active
June 17, 2016 21:30
-
-
Save localytics-gist/0ed100ed986bdbd74a370d6a255dbc6e to your computer and use it in GitHub Desktop.
Humidifier example.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Description": "Example stack", | |
| "Parameters": { | |
| "Env": { | |
| "Type": "String", | |
| "Description": "The deploy environment" | |
| } | |
| }, | |
| "Resources": { | |
| "LoadBalancer": { | |
| "Type": "AWS::ElasticLoadBalancing::LoadBalancer", | |
| "Properties": { | |
| "Scheme": "internet-facing", | |
| "Listeners": [ | |
| { | |
| "LoadBalancerPort": 80, | |
| "Protocol": "http", | |
| "InstancePort": 80, | |
| "InstanceProtocol": "http" | |
| } | |
| ], | |
| "AvailabilityZones": [ | |
| "us-east-1a" | |
| ] | |
| } | |
| }, | |
| "AutoScalingGroup": { | |
| "Type": "AWS::AutoScaling::AutoScalingGroup", | |
| "Properties": { | |
| "LaunchConfigurationName": "example-launch-configuration", | |
| "MinSize": "1", | |
| "MaxSize": "20", | |
| "AvailabilityZones": [ | |
| "us-east-1a" | |
| ], | |
| "LoadBalancerNames": [ | |
| { | |
| "Ref": "LoadBalancer" | |
| } | |
| ], | |
| "Tags": [ | |
| { | |
| "Key": "Name", | |
| "Value": { | |
| "Fn::Join": [ | |
| "-", | |
| [ | |
| { | |
| "Ref": "Env" | |
| }, | |
| "example-group" | |
| ] | |
| ] | |
| }, | |
| "PropagateAtLaunch": true | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment