session-manager
foss-cafe/session-manager/aws
Terraform module which creates Session Manager resources on AWS.
Install
README
Terraform AWS Session Manager Resources Use as a Module ``hcl module "ssm_resources" { source = "./" kms_key = { name = "ssm-cmk-key" description = "CMK for cloudwath logs and session" deletion_window_in_days = 7 } cloudwatch_log_group_name = "/ssm/session-logs" enable_log_to_cloudwatch = true } ` Requirements | Name | Version | |------|---------| | terraform | ~> 0.12.24 | | aws | ~> 2.60 | Providers | Name | Version | |------|---------| | aws | ~> 2.60 | Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | cloudwatch\_log\_group\_name | Name of the CloudWatch Log Group for storing SSM Session Logs | string | "/ssm/session-logs" | no | | cloudwatch\_logs\_retention | Number of days to retain Session Logs in CloudWatch | number | 30
Inputs (9)
| Name | Type | Description | Default |
|---|---|---|---|
| tags | map(string) | A map of tags to add to all resources | {} |
| kms_key | map(string) | KMS Key Details | {
"deletion_window_in_days": 7,
"des |
| cloudwatch_logs_retention | number | Number of days to retain Session Logs in CloudWatch | 30 |
| run_as_enabled | bool | Do you want to use Specify Operating System user for sessions | true |
| default_user | string | operating system user name for starting sessions | "ec2-user" |
| cloudwatch_log_group_name | string | Name of the CloudWatch Log Group for storing SSM Session Logs | "/ssm/session-logs" |
| enable_log_to_cloudwatch | bool | Enable Session Manager to Log to CloudWatch Logs | true |
| create_ssm_document | bool | Do you want to create SSM Document | true |
| role_name | string | Name of the Role | "" |
Outputs (3)
ssm_kms_key_arn — KMS key used for SSMssm_cloudwatch_log_group_arn — The Amazon Resource Name (ARN) specifying the log group for SSMssm_role_arnResources (5)
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,