Skip to content

Commit

Permalink
add encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
Plork committed Sep 30, 2024
1 parent 894981f commit 1270b0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,9 @@ module "s3" {
version = "~> 0.14.1"

name_prefix = "${lower(var.name)}-"
versioning = true
kms_key_arn = var.kms_key_arn
tags = var.tags
versioning = true

lifecycle_rule = [
{
Expand Down
3 changes: 1 addition & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ variable "bucket_prefix" {
variable "cluster_arn" {
type = string
default = null
description = "ARN of an existing ECS cluster, if not provided a new one will be created"
description = "ARN of an existing ECS cluster, if left empty a new cluster will be created"
}

variable "config" {
Expand Down Expand Up @@ -63,7 +63,6 @@ variable "config" {

variable "kms_key_arn" {
type = string
default = null
description = "The ARN of the KMS key to use for encryption"
}

Expand Down

0 comments on commit 1270b0b

Please sign in to comment.