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
|[aws_caller_identity.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
240
244
|[aws_iam_instance_profile.given](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_instance_profile)| data source |
241
245
|[aws_iam_policy_document.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
246
+
|[aws_iam_policy_document.ssm_patch_s3_log_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
242
247
|[aws_partition.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition)| data source |
243
248
|[aws_region.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region)| data source |
244
249
|[aws_subnet.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnet)| data source |
@@ -306,6 +311,9 @@ Available targets:
306
311
| <aname="input_security_groups"></a> [security\_groups](#input\_security\_groups)| A list of Security Group IDs to associate with EC2 instance. |`list(string)`|`[]`| no |
307
312
| <aname="input_source_dest_check"></a> [source\_dest\_check](#input\_source\_dest\_check)| Controls if traffic is routed to the instance when the destination address does not match the instance. Used for NAT or VPNs |`bool`|`true`| no |
308
313
| <aname="input_ssh_key_pair"></a> [ssh\_key\_pair](#input\_ssh\_key\_pair)| SSH key pair to be provisioned on the instance |`string`| n/a | yes |
314
+
| <aname="input_ssm_patch_manager_enabled"></a> [ssm\_patch\_manager\_enabled](#input\_ssm\_patch\_manager\_enabled)| Whether to enable SSM Patch manager |`bool`|`false`| no |
315
+
| <aname="input_ssm_patch_manager_iam_policy"></a> [ssm\_patch\_manager\_iam\_policy](#input\_ssm\_patch\_manager\_iam\_policy)| IAM policy to allow Patch manager to manage the instance |`string`|`null`| no |
316
+
| <aname="input_ssm_patch_manager_s3_log_bucket"></a> [ssm\_patch\_manager\_s3\_log\_bucket](#input\_ssm\_patch\_manager\_s3\_log\_bucket)| The name of the s3 bucket to export the patch log to |`string`|`null`| no |
309
317
| <aname="input_stage"></a> [stage](#input\_stage)| Stage, e.g. 'prod', 'staging', 'dev', OR 'source', 'build', 'test', 'deploy', 'release' |`string`|`null`| no |
310
318
| <aname="input_statistic_level"></a> [statistic\_level](#input\_statistic\_level)| The statistic to apply to the alarm's associated metric. Allowed values are: SampleCount, Average, Sum, Minimum, Maximum |`string`|`"Maximum"`| no |
311
319
| <aname="input_subnet"></a> [subnet](#input\_subnet)| VPC Subnet ID the instance is launched in |`string`| n/a | yes |
|[aws_caller_identity.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
43
47
|[aws_iam_instance_profile.given](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_instance_profile)| data source |
44
48
|[aws_iam_policy_document.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
49
+
|[aws_iam_policy_document.ssm_patch_s3_log_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
45
50
|[aws_partition.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition)| data source |
46
51
|[aws_region.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region)| data source |
47
52
|[aws_subnet.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnet)| data source |
@@ -109,6 +114,9 @@
109
114
| <aname="input_security_groups"></a> [security\_groups](#input\_security\_groups)| A list of Security Group IDs to associate with EC2 instance. |`list(string)`|`[]`| no |
110
115
| <aname="input_source_dest_check"></a> [source\_dest\_check](#input\_source\_dest\_check)| Controls if traffic is routed to the instance when the destination address does not match the instance. Used for NAT or VPNs |`bool`|`true`| no |
111
116
| <aname="input_ssh_key_pair"></a> [ssh\_key\_pair](#input\_ssh\_key\_pair)| SSH key pair to be provisioned on the instance |`string`| n/a | yes |
117
+
| <aname="input_ssm_patch_manager_enabled"></a> [ssm\_patch\_manager\_enabled](#input\_ssm\_patch\_manager\_enabled)| Whether to enable SSM Patch manager |`bool`|`false`| no |
118
+
| <aname="input_ssm_patch_manager_iam_policy"></a> [ssm\_patch\_manager\_iam\_policy](#input\_ssm\_patch\_manager\_iam\_policy)| IAM policy to allow Patch manager to manage the instance |`string`|`null`| no |
119
+
| <aname="input_ssm_patch_manager_s3_log_bucket"></a> [ssm\_patch\_manager\_s3\_log\_bucket](#input\_ssm\_patch\_manager\_s3\_log\_bucket)| The name of the s3 bucket to export the patch log to |`string`|`null`| no |
112
120
| <aname="input_stage"></a> [stage](#input\_stage)| Stage, e.g. 'prod', 'staging', 'dev', OR 'source', 'build', 'test', 'deploy', 'release' |`string`|`null`| no |
113
121
| <aname="input_statistic_level"></a> [statistic\_level](#input\_statistic\_level)| The statistic to apply to the alarm's associated metric. Allowed values are: SampleCount, Average, Sum, Minimum, Maximum |`string`|`"Maximum"`| no |
114
122
| <aname="input_subnet"></a> [subnet](#input\_subnet)| VPC Subnet ID the instance is launched in |`string`| n/a | yes |
#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
111
160
#bridgecrew:skip=BC_AWS_NETWORKING_47: Skiping `Ensure AWS EC2 instance is configured with VPC` because it is incorrectly flagging that this instance does not belong to a VPC even though subnet_id is configured.
0 commit comments