-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from aws-scripting-guy/master
Snippet for EC2 volume resource
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
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> |