You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -169,7 +169,7 @@ Available targets:
169
169
| ami\_owner | Owner of the given AMI (ignored if `ami` unset) |`string`|`""`| no |
170
170
| applying\_period | The period in seconds over which the specified statistic is applied |`number`|`60`| no |
171
171
| assign\_eip\_address | Assign an Elastic IP address to the instance |`bool`|`true`| no |
172
-
| associate\_public\_ip\_address | Associate a public IP address with the instance |`bool`|`true`| no |
172
+
| associate\_public\_ip\_address | Associate a public IP address with the instance |`bool`|`false`| no |
173
173
| attributes | Additional attributes (e.g. `1`) |`list(string)`|`[]`| no |
174
174
| availability\_zone | Availability Zone the instance is launched in. If not set, will be launched in the first AZ of the region |`string`|`""`| no |
175
175
| comparison\_operator | The arithmetic operation to use when comparing the specified Statistic and Threshold. Possible values are: GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold. |`string`|`"GreaterThanOrEqualToThreshold"`| no |
@@ -183,6 +183,7 @@ Available targets:
183
183
| ebs\_iops | Amount of provisioned IOPS. This must be set with a volume\_type of io1 |`number`|`0`| no |
184
184
| ebs\_optimized | Launched EC2 instance will be EBS-optimized |`bool`|`false`| no |
185
185
| ebs\_volume\_count | Count of EBS volumes that will be attached to the instance |`number`|`0`| no |
186
+
| ebs\_volume\_encrypted | Size of the EBS volume in gigabytes |`bool`|`true`| no |
186
187
| ebs\_volume\_size | Size of the EBS volume in gigabytes |`number`|`10`| no |
187
188
| ebs\_volume\_type | The type of EBS volume. Can be standard, gp2 or io1 |`string`|`"gp2"`| no |
188
189
| enabled | Set to false to prevent the module from creating any resources |`bool`|`null`| no |
@@ -193,7 +194,10 @@ Available targets:
193
194
| instance\_type | The type of the instance |`string`|`"t2.micro"`| no |
194
195
| ipv6\_address\_count | Number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet (-1 to use subnet default) |`number`|`0`| no |
195
196
| ipv6\_addresses | List of IPv6 addresses from the range of the subnet to associate with the primary network interface |`list(string)`|`[]`| no |
197
+
| kms\_key\_id | KMS key ID used to encrypt EBS volume. When specifying kms\_key\_id, ebs\_volume\_encrypted needs to be set to true |`string`|`null`| no |
196
198
| label\_order | The naming order of the id output and Name tag.<br>Defaults to ["namespace", "environment", "stage", "name", "attributes"].<br>You can omit any of the 5 elements, but at least one must be present. |`list(string)`|`null`| no |
199
+
| metadata\_http\_endpoint\_enabled | Whether the metadata service is available |`bool`|`true`| no |
200
+
| metadata\_http\_tokens\_required | Whether or not the metadata service requires session tokens, also referred to as Instance Metadata Service Version 2. |`bool`|`true`| no |
197
201
| metric\_name | The name for the alarm's associated metric. Allowed values can be found in https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ec2-metricscollected.html|`string`|`"StatusCheckFailed_Instance"`| no |
198
202
| metric\_namespace | The namespace for the alarm's associated metric. Allowed values can be found in https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-namespaces.html|`string`|`"AWS/EC2"`| no |
199
203
| metric\_threshold | The value against which the specified statistic is compared |`number`|`1`| no |
@@ -204,6 +208,7 @@ Available targets:
204
208
| private\_ip | Private IP address to associate with the instance in the VPC |`string`|`""`| no |
205
209
| regex\_replace\_chars | Regex to replace chars with empty string in `namespace`, `environment`, `stage` and `name`.<br>If not set, `"/[^a-zA-Z0-9-]/"` is used to remove all characters other than hyphens, letters and digits. |`string`|`null`| no |
206
210
| region | AWS Region the instance is launched in |`string`|`""`| no |
211
+
| root\_block\_device\_encrypted | Whether to encrypt the root block device |`bool`|`true`| no |
207
212
| root\_iops | Amount of provisioned IOPS. This must be set if root\_volume\_type is set to `io1`|`number`|`0`| no |
208
213
| root\_volume\_size | Size of the root volume in gigabytes |`number`|`10`| no |
209
214
| root\_volume\_type | Type of root volume. Can be standard, gp2 or io1 |`string`|`"gp2"`| no |
Copy file name to clipboardExpand all lines: docs/terraform.md
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@
26
26
| ami\_owner | Owner of the given AMI (ignored if `ami` unset) |`string`|`""`| no |
27
27
| applying\_period | The period in seconds over which the specified statistic is applied |`number`|`60`| no |
28
28
| assign\_eip\_address | Assign an Elastic IP address to the instance |`bool`|`true`| no |
29
-
| associate\_public\_ip\_address | Associate a public IP address with the instance |`bool`|`true`| no |
29
+
| associate\_public\_ip\_address | Associate a public IP address with the instance |`bool`|`false`| no |
30
30
| attributes | Additional attributes (e.g. `1`) |`list(string)`|`[]`| no |
31
31
| availability\_zone | Availability Zone the instance is launched in. If not set, will be launched in the first AZ of the region |`string`|`""`| no |
32
32
| comparison\_operator | The arithmetic operation to use when comparing the specified Statistic and Threshold. Possible values are: GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold. |`string`|`"GreaterThanOrEqualToThreshold"`| no |
@@ -40,6 +40,7 @@
40
40
| ebs\_iops | Amount of provisioned IOPS. This must be set with a volume\_type of io1 |`number`|`0`| no |
41
41
| ebs\_optimized | Launched EC2 instance will be EBS-optimized |`bool`|`false`| no |
42
42
| ebs\_volume\_count | Count of EBS volumes that will be attached to the instance |`number`|`0`| no |
43
+
| ebs\_volume\_encrypted | Size of the EBS volume in gigabytes |`bool`|`true`| no |
43
44
| ebs\_volume\_size | Size of the EBS volume in gigabytes |`number`|`10`| no |
44
45
| ebs\_volume\_type | The type of EBS volume. Can be standard, gp2 or io1 |`string`|`"gp2"`| no |
45
46
| enabled | Set to false to prevent the module from creating any resources |`bool`|`null`| no |
@@ -50,7 +51,10 @@
50
51
| instance\_type | The type of the instance |`string`|`"t2.micro"`| no |
51
52
| ipv6\_address\_count | Number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet (-1 to use subnet default) |`number`|`0`| no |
52
53
| ipv6\_addresses | List of IPv6 addresses from the range of the subnet to associate with the primary network interface |`list(string)`|`[]`| no |
54
+
| kms\_key\_id | KMS key ID used to encrypt EBS volume. When specifying kms\_key\_id, ebs\_volume\_encrypted needs to be set to true |`string`|`null`| no |
53
55
| label\_order | The naming order of the id output and Name tag.<br>Defaults to ["namespace", "environment", "stage", "name", "attributes"].<br>You can omit any of the 5 elements, but at least one must be present. |`list(string)`|`null`| no |
56
+
| metadata\_http\_endpoint\_enabled | Whether the metadata service is available |`bool`|`true`| no |
57
+
| metadata\_http\_tokens\_required | Whether or not the metadata service requires session tokens, also referred to as Instance Metadata Service Version 2. |`bool`|`true`| no |
54
58
| metric\_name | The name for the alarm's associated metric. Allowed values can be found in https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ec2-metricscollected.html|`string`|`"StatusCheckFailed_Instance"`| no |
55
59
| metric\_namespace | The namespace for the alarm's associated metric. Allowed values can be found in https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-namespaces.html|`string`|`"AWS/EC2"`| no |
56
60
| metric\_threshold | The value against which the specified statistic is compared |`number`|`1`| no |
@@ -61,6 +65,7 @@
61
65
| private\_ip | Private IP address to associate with the instance in the VPC |`string`|`""`| no |
62
66
| regex\_replace\_chars | Regex to replace chars with empty string in `namespace`, `environment`, `stage` and `name`.<br>If not set, `"/[^a-zA-Z0-9-]/"` is used to remove all characters other than hyphens, letters and digits. |`string`|`null`| no |
63
67
| region | AWS Region the instance is launched in |`string`|`""`| no |
68
+
| root\_block\_device\_encrypted | Whether to encrypt the root block device |`bool`|`true`| no |
64
69
| root\_iops | Amount of provisioned IOPS. This must be set if root\_volume\_type is set to `io1`|`number`|`0`| no |
65
70
| root\_volume\_size | Size of the root volume in gigabytes |`number`|`10`| no |
66
71
| root\_volume\_type | Type of root volume. Can be standard, gp2 or io1 |`string`|`"gp2"`| no |
#bridgecrew:skip=BC_AWS_GENERAL_31: Skipping `Ensure Instance Metadata Service Version 1 is not enabled` check until BridgeCrew supports conditional evaluation. See https://github.com/bridgecrewio/checkov/issues/793
0 commit comments