-
Notifications
You must be signed in to change notification settings - Fork 0
/
amazon.aws.ec2_vol.sublime-snippet
40 lines (40 loc) · 2.73 KB
/
amazon.aws.ec2_vol.sublime-snippet
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<snippet>
<content><![CDATA[- name: ${1:Create and attach a volume, return volume ID and device map}
amazon.aws.ec2_vol:
access_key: ${2:# AWS access key ID}
aws_ca_bundle: ${3:# The location of a CA Bundle to use when validating SSL certificates}
aws_config: ${4:# A dictionary to modify the botocore configuration}
debug_botocore_endpoint_logs: ${5:# Use a C(botocore}
delete_on_termination: ${6:# When set to C(true), the volume will be deleted upon instance termination}
device_name: ${7:# Device ID to override device mapping}
encrypted: ${8:# Enable encryption at rest for this volume}
endpoint_url: ${9:# URL to connect to instead of the default AWS endpoints}
id: ${10:# Volume ID if you wish to attach an existing volume (requires instance) or remove an existing volume}
instance: ${11:# Instance ID if you wish to attach the volume}
iops: ${12:# The provisioned IOPs you want to associate with this volume (integer)}
kms_key_id: ${13:# Specify the ID of the KMS key to use}
modify_volume: ${14:# The volume won't be modified unless this key is C(true)}
multi_attach: ${15:# If set to C(true), Multi-Attach will be enabled when creating the volume}
name: ${16:# Volume Name tag if you wish to attach an existing volume (requires instance)}
outpost_arn: ${17:# The Amazon Resource Name (ARN) of the Outpost}
profile: ${18:# A named AWS profile to use for authentication}
purge_tags: ${19:# If I(purge_tags=true) and I(tags) is set, existing tags will be purged from the resource to match exactly what is defined by I(tags) parameter}
region: ${20:# The AWS region to use}
secret_key: ${21:# AWS secret access key}
session_token: ${22:# AWS STS session token for use with temporary credentials}
snapshot: ${23:# Snapshot ID on which to base the volume}
state: ${24:# Whether to ensure the volume is present or absent}
tags: ${25:# A dictionary representing the tags to be applied to the resource}
throughput: ${26:# Volume throughput in MB/s}
validate_certs: ${27:# When set to C(false), SSL certificates will not be validated for communication with the AWS APIs}
volume_size: ${28:# Size of volume (in GiB) to create}
volume_type: ${29:# Type of EBS volume; C(standard) (magnetic), C(gp2) (SSD), C(gp3) (SSD), C(io1) (Provisioned IOPS), C(io2) (Provisioned IOPS), C(st1) (Throughput Optimized HDD), C(sc1) (Cold HDD)}
zone: ${30:# Zone in which to create the volume, if unset uses the zone the instance is in (if set)}
tags:
- amazon
- aws
- ec2_vol]]></content>
<tabTrigger>amazon.aws.ec2_vol</tabTrigger>
<scope>source.yaml,source.ansible</scope>
<description>Create and attach a volume, return volume ID and device map</description>
</snippet>