Skip to content

Instantly share code, notes, and snippets.

@localytics-gist
Last active June 17, 2016 21:30
Show Gist options
  • Save localytics-gist/0ed100ed986bdbd74a370d6a255dbc6e to your computer and use it in GitHub Desktop.
Save localytics-gist/0ed100ed986bdbd74a370d6a255dbc6e to your computer and use it in GitHub Desktop.
Humidifier example.json
{
"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