Skip to content

Instantly share code, notes, and snippets.

@chewmanfoo
Created April 1, 2016 15:39
Show Gist options
  • Select an option

  • Save chewmanfoo/f537aede885da781038dd10a4542c463 to your computer and use it in GitHub Desktop.

Select an option

Save chewmanfoo/f537aede885da781038dd10a4542c463 to your computer and use it in GitHub Desktop.
"Resources": {
"VarVolume": {
"Type" : "AWS::EC2::Volume",
"Properties" : {
"Size" : "100",
"Encrypted" : "true",
"AvailabilityZone" : {
"Fn::GetAtt" : [ "Linux", "AvailabilityZone" ]
},
"Tags": [
{
"Key": "Business Unit",
"Value": {
"Ref": "BusinessUnit"
}
},
{
"Key": "Environment",
"Value": {
"Ref": "Environment"
}
},
{
"Key": "Technical Service",
"Value": {
"Ref": "TechnicalService"
}
},
{
"Key": "Business Service",
"Value": {
"Ref": "BusinessService"
}
}
]
}
},
"Linux": {
"Type": "AWS::EC2::Instance",
"Properties": {
"Volumes": [
{ "VolumeId" : { "Ref" : "VarVolume" }, "Device" : "/dev/sdk" }
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment