Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avidhara/terraform-aws-session-manager
Terraform module which creates Session Manager resources on AWS.
https://github.com/avidhara/terraform-aws-session-manager
aws terraform terraform-aws terraform-aws-module terraform-module
Last synced: about 1 month ago
JSON representation
Terraform module which creates Session Manager resources on AWS.
- Host: GitHub
- URL: https://github.com/avidhara/terraform-aws-session-manager
- Owner: avidhara
- Created: 2020-08-11T05:57:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-06-01T04:41:36.000Z (over 1 year ago)
- Last Synced: 2024-03-24T18:24:46.794Z (9 months ago)
- Topics: aws, terraform, terraform-aws, terraform-aws-module, terraform-module
- Language: HCL
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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` | no |
| create\_ssm\_document | Do you want to create SSM Document | `bool` | `true` | no |
| default\_user | operating system user name for starting sessions | `string` | `"ec2-user"` | no |
| enable\_log\_to\_cloudwatch | Enable Session Manager to Log to CloudWatch Logs | `bool` | `true` | no |
| kms\_key | KMS Key Details | `map(string)` |{| no |
"deletion_window_in_days": 7,
"description": "CMK for cloudwath logs and session",
"name": "ssm-cmk-key"
}
| role\_name | Name of the Role | `string` | `""` | no |
| run\_as\_enabled | Do you want to use Specify Operating System user for sessions | `bool` | `true` | no |
| tags | A map of tags to add to all resources | `map(string)` | `{}` | no |## Outputs
| Name | Description |
|------|-------------|
| ssm\_cloudwatch\_log\_group\_arn | The Amazon Resource Name (ARN) specifying the log group for SSM |
| ssm\_kms\_key\_arn | KMS key used for SSM |
| ssm\_role\_arn | n/a |