Skip to content

Commit

Permalink
Merge pull request #32 from aws-scripting-guy/master
Browse files Browse the repository at this point in the history
Snippet for EC2 volume resource
  • Loading branch information
beaknit committed Jan 24, 2016
2 parents 7c46d61 + 01490dd commit 3b25e90
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions ec2-volume.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<snippet>
<content><![CDATA[
"${1:ec2Volume}": {
"Type": "AWS::EC2::Volume",
"Properties": {
"AutoEnableIO": "${2:true|false}",
"AvailabilityZone": "${3:-}",
"Encrypted": "${4:true|false}",
"KmsKeyId": "${5:-}",
"Size": "${6:-}",
"SnapshotId": "${7:snap-}",
"Tags": [
{
"Key": "${8:-}",
"Value": "${9:-}"
}
],
"VolumeType" : "${10:standard|io1|gp2}"
}
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>ec2-volume</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.cloudformation</scope>
</snippet>

0 comments on commit 3b25e90

Please sign in to comment.