Skip to content

Instantly share code, notes, and snippets.

@tkssharma
Created January 10, 2017 07:12
Show Gist options
  • Save tkssharma/81c5dd2341ee4e955146192a707fc87e to your computer and use it in GitHub Desktop.
Save tkssharma/81c5dd2341ee4e955146192a707fc87e to your computer and use it in GitHub Desktop.
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "A simple description of what this template does",
"Parameters": {
//variables that can be passed to the template during deployment.
},
"Mappings": {
//keys which match to a corresponding set of named values
}
"Resources": {
//aws resources that will be deployed by the stack
},
"Outputs": {
//values that can be returned back after successful completion of the stack
}
}
{
"Description" : "Example with Windows instance and VPC",
"AWSTemplateFormatVersion" : "2010-09-09",
"Parameters" : {
"KeyName" : {
"Description" : "AWS key to use",
"Type" : "String",
"Default": "cumulus-prod"
},
"InstanceType" : {
"Description" : "EC2 instance type",
"Type" : "String",
"Default" : "t1.micro",
"AllowedValues" : [ "t1.micro","m1.small","m1.medium","m1.large","m1.xlarge","m2.xlarge","m2.2xlarge","m2.4xlarge","c1.medium","c1.xlarge","cc1.4xlarge","cc2.8xlarge","cg1.4xlarge"],
"ConstraintDescription" : "must be a valid EC2 instance type."
}
},
"Resources" : {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment