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-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,8 +179,6 @@ Available targets:
179
179
|------|---------|
180
180
| terraform | >= 0.12.26 |
181
181
| aws | >= 2.0 |
182
-
| null | >= 2.0 |
183
-
| tls | >= 2.0 |
184
182
185
183
## Providers
186
184
@@ -199,7 +197,7 @@ Available targets:
199
197
| ami\_owner | Owner of the given AMI |`string`| n/a | yes |
200
198
| applying\_period | The period in seconds over which the specified statistic is applied |`number`|`60`| no |
201
199
| assign\_eip\_address | Assign an Elastic IP address to the instance |`bool`|`true`| no |
202
-
| associate\_public\_ip\_address | Associate a public IP address with the instance |`bool`|`true`| no |
200
+
| associate\_public\_ip\_address | Associate a public IP address with the instance |`bool`|`false`| no |
203
201
| attributes | Additional attributes (e.g. `1`) |`list(string)`|`[]`| no |
204
202
| availability\_zone | Availability Zone the instance is launched in. If not set, will be launched in the first AZ of the region |`string`|`""`| no |
205
203
| comparison\_operator | The arithmetic operation to use when comparing the specified Statistic and Threshold. Possible values are: GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold |`string`|`"GreaterThanOrEqualToThreshold"`| no |
@@ -213,6 +211,7 @@ Available targets:
213
211
| ebs\_iops | Amount of provisioned IOPS. This must be set with a volume\_type of io1 |`number`|`0`| no |
214
212
| ebs\_optimized | Launched EC2 instance will be EBS-optimized |`bool`|`false`| no |
215
213
| ebs\_volume\_count | Count of EBS volumes that will be attached to the instance |`number`|`0`| no |
214
+
| ebs\_volume\_encrypted | Size of the EBS volume in gigabytes |`bool`|`true`| no |
216
215
| ebs\_volume\_size | Size of the EBS volume in gigabytes |`number`|`10`| no |
217
216
| ebs\_volume\_type | The type of EBS volume. Can be standard, gp2 or io1 |`string`|`"gp2"`| no |
218
217
| enabled | Set to false to prevent the module from creating any resources |`bool`|`null`| no |
@@ -225,7 +224,10 @@ Available targets:
225
224
| instance\_type | The type of the instance |`string`|`"t2.micro"`| no |
226
225
| 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 |`number`|`0`| no |
227
226
| ipv6\_addresses | List of IPv6 addresses from the range of the subnet to associate with the primary network interface |`list(string)`|`[]`| no |
227
+
| 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 |
228
228
| 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 |
229
+
| metadata\_http\_endpoint\_enabled | Whether the metadata service is available |`bool`|`true`| no |
230
+
| 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 |
229
231
| 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 |
230
232
| 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 |
231
233
| metric\_threshold | The value against which the specified statistic is compared |`number`|`1`| no |
@@ -236,6 +238,7 @@ Available targets:
236
238
| private\_ips | Private IP address to associate with the instances in the VPC |`list(string)`|`[]`| no |
237
239
| 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 |
238
240
| region | AWS Region the instance is launched in |`string`| n/a | yes |
241
+
| root\_block\_device\_encrypted | Whether to encrypt the root block device |`bool`|`true`| no |
239
242
| root\_iops | Amount of provisioned IOPS. This must be set if root\_volume\_type is set to `io1`|`number`|`0`| no |
240
243
| root\_volume\_size | Size of the root volume in gigabytes |`number`|`10`| no |
241
244
| 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-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,6 @@
5
5
|------|---------|
6
6
| terraform | >= 0.12.26 |
7
7
| aws | >= 2.0 |
8
-
| null | >= 2.0 |
9
-
| tls | >= 2.0 |
10
8
11
9
## Providers
12
10
@@ -25,7 +23,7 @@
25
23
| ami\_owner | Owner of the given AMI |`string`| n/a | yes |
26
24
| applying\_period | The period in seconds over which the specified statistic is applied |`number`|`60`| no |
27
25
| assign\_eip\_address | Assign an Elastic IP address to the instance |`bool`|`true`| no |
28
-
| associate\_public\_ip\_address | Associate a public IP address with the instance |`bool`|`true`| no |
26
+
| associate\_public\_ip\_address | Associate a public IP address with the instance |`bool`|`false`| no |
29
27
| attributes | Additional attributes (e.g. `1`) |`list(string)`|`[]`| no |
30
28
| availability\_zone | Availability Zone the instance is launched in. If not set, will be launched in the first AZ of the region |`string`|`""`| no |
31
29
| comparison\_operator | The arithmetic operation to use when comparing the specified Statistic and Threshold. Possible values are: GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold |`string`|`"GreaterThanOrEqualToThreshold"`| no |
@@ -39,6 +37,7 @@
39
37
| ebs\_iops | Amount of provisioned IOPS. This must be set with a volume\_type of io1 |`number`|`0`| no |
40
38
| ebs\_optimized | Launched EC2 instance will be EBS-optimized |`bool`|`false`| no |
41
39
| ebs\_volume\_count | Count of EBS volumes that will be attached to the instance |`number`|`0`| no |
40
+
| ebs\_volume\_encrypted | Size of the EBS volume in gigabytes |`bool`|`true`| no |
42
41
| ebs\_volume\_size | Size of the EBS volume in gigabytes |`number`|`10`| no |
43
42
| ebs\_volume\_type | The type of EBS volume. Can be standard, gp2 or io1 |`string`|`"gp2"`| no |
44
43
| enabled | Set to false to prevent the module from creating any resources |`bool`|`null`| no |
@@ -51,7 +50,10 @@
51
50
| instance\_type | The type of the instance |`string`|`"t2.micro"`| no |
52
51
| 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 |`number`|`0`| no |
53
52
| ipv6\_addresses | List of IPv6 addresses from the range of the subnet to associate with the primary network interface |`list(string)`|`[]`| no |
53
+
| 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 |
54
54
| 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 |
55
+
| metadata\_http\_endpoint\_enabled | Whether the metadata service is available |`bool`|`true`| no |
56
+
| 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 |
55
57
| 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 |
56
58
| 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 |
57
59
| metric\_threshold | The value against which the specified statistic is compared |`number`|`1`| no |
@@ -62,6 +64,7 @@
62
64
| private\_ips | Private IP address to associate with the instances in the VPC |`list(string)`|`[]`| no |
63
65
| 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 |
64
66
| region | AWS Region the instance is launched in |`string`| n/a | yes |
67
+
| root\_block\_device\_encrypted | Whether to encrypt the root block device |`bool`|`true`| no |
65
68
| root\_iops | Amount of provisioned IOPS. This must be set if root\_volume\_type is set to `io1`|`number`|`0`| no |
66
69
| root\_volume\_size | Size of the root volume in gigabytes |`number`|`10`| no |
67
70
| 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