forked from antonbabenko/modules.tf-lambda
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathec2-instance.json
More file actions
160 lines (160 loc) · 5.24 KB
/
ec2-instance.json
File metadata and controls
160 lines (160 loc) · 5.24 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"ami": {
"description": "ID of AMI to use for the instance",
"type": "string"
},
"associate_public_ip_address": {
"default": "null",
"description": "If true, the EC2 instance will have associated public IP address",
"type": "bool"
},
"cpu_credits": {
"default": "standard",
"description": "The credit option for CPU usage (unlimited or standard)",
"type": "string"
},
"disable_api_termination": {
"default": false,
"description": "If true, enables EC2 Instance Termination Protection",
"type": "bool"
},
"ebs_block_device": {
"default": [],
"description": "Additional EBS block devices to attach to the instance",
"type": "list(map(string))"
},
"ebs_optimized": {
"default": false,
"description": "If true, the launched EC2 instance will be EBS-optimized",
"type": "bool"
},
"ephemeral_block_device": {
"default": [],
"description": "Customize Ephemeral (also known as Instance Store) volumes on the instance",
"type": "list(map(string))"
},
"get_password_data": {
"default": false,
"description": "If true, wait for password data to become available and retrieve it.",
"type": "bool"
},
"iam_instance_profile": {
"default": "",
"description": "The IAM Instance Profile to launch the instance with. Specified as the name of the Instance Profile.",
"type": "string"
},
"instance_count": {
"default": 1,
"description": "Number of instances to launch",
"type": "number"
},
"instance_initiated_shutdown_behavior": {
"default": "",
"description": "Shutdown behavior for the instance",
"type": "string"
},
"instance_type": {
"description": "The type of instance to start",
"type": "string",
"cloudcraft_name": "instanceType"
},
"ipv6_address_count": {
"default": "null",
"description": "A number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.",
"type": "number"
},
"ipv6_addresses": {
"default": "null",
"description": "Specify one or more IPv6 addresses from the range of the subnet to associate with the primary network interface",
"type": "list(string)"
},
"key_name": {
"default": "",
"description": "The key name to use for the instance",
"type": "string"
},
"monitoring": {
"default": false,
"description": "If true, the launched EC2 instance will have detailed monitoring enabled",
"type": "bool"
},
"name": {
"description": "Name to be used on all resources as prefix",
"type": "string"
},
"network_interface": {
"default": [],
"description": "Customize network interfaces to be attached at instance boot time",
"type": "list(map(string))"
},
"placement_group": {
"default": "",
"description": "The Placement Group to start the instance in",
"type": "string"
},
"private_ip": {
"default": "null",
"description": "Private IP address to associate with the instance in a VPC",
"type": "string"
},
"private_ips": {
"default": [],
"description": "A list of private IP address to associate with the instance in a VPC. Should match the number of instances.",
"type": "list(string)"
},
"root_block_device": {
"default": [],
"description": "Customize details about the root block device of the instance. See Block Devices below for details",
"type": "list(map(string))"
},
"source_dest_check": {
"default": true,
"description": "Controls if traffic is routed to the instance when the destination address does not match the instance. Used for NAT or VPNs.",
"type": "bool"
},
"subnet_id": {
"default": "",
"description": "The VPC Subnet ID to launch in",
"type": "string"
},
"subnet_ids": {
"default": [],
"description": "A list of VPC Subnet IDs to launch in",
"type": "list(string)"
},
"tags": {
"default": {},
"description": "A mapping of tags to assign to the resource",
"type": "map(string)"
},
"tenancy": {
"default": "default",
"description": "The tenancy of the instance (if the instance is running in a VPC). Available values: default, dedicated, host.",
"type": "string"
},
"use_num_suffix": {
"default": false,
"description": "Always append numerical suffix to instance name, even if instance_count is 1",
"type": "bool"
},
"user_data": {
"default": "null",
"description": "The user data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see user_data_base64 instead.",
"type": "string"
},
"user_data_base64": {
"default": "null",
"description": "Can be used instead of user_data to pass base64-encoded binary data directly. Use this instead of user_data whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption.",
"type": "string"
},
"volume_tags": {
"default": {},
"description": "A mapping of tags to assign to the devices created by the instance at launch time",
"type": "map(string)"
},
"vpc_security_group_ids": {
"default": "null",
"description": "A list of security group IDs to associate with",
"type": "list(string)"
}
}