File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ Module managed by [Marcin Cuber](https://github.com/marcincuber) [LinkedIn](http
9090| task\_ host\_ port | The port number on the container instance to reserve for your container. | number | ` "0" ` | no |
9191| target\_ group\_ name | The name for the tasks target group. | string | ` "" ` | no |
9292| load\_ balanced | Whether the task should be loadbalanced. | bool | ` true ` | no |
93+ | logs_kms_key | The KMS key ARN to use to encrypt container logs. | string | ` "" ` | no |
9394
9495## Outputs
9596
Original file line number Diff line number Diff line change 44resource "aws_cloudwatch_log_group" "main" {
55 name = var. name_prefix
66 retention_in_days = var. log_retention_in_days
7+
8+ kms_key_id = var. logs_kms_key
79 tags = var. tags
810}
911
Original file line number Diff line number Diff line change @@ -164,3 +164,9 @@ variable "load_balanced" {
164164 default = true
165165 description = " Whether the task should be loadbalanced."
166166}
167+
168+ variable "logs_kms_key" {
169+ type = string
170+ description = " The KMS key ARN to use to encrypt container logs."
171+ default = " "
172+ }
You can’t perform that action at this time.
0 commit comments