Skip to content

Commit

Permalink
Change encryption key type (#37)
Browse files Browse the repository at this point in the history
* Change encrytionkey type
  • Loading branch information
SaiPrasannaGopularam authored Dec 1, 2023
1 parent 07b6601 commit 05473e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ data "aws_iam_policy_document" "task_execution_role_policy" {
statement {
effect = "Allow"
actions = ["kms:Decrypt"]
resources = [var.encryption_key]
resources = var.encryption_keys
}

statement {
Expand Down
5 changes: 3 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,8 @@ variable "secret_arns" {
default = null
}

variable "encryption_key" {
variable "encryption_keys" {
description = "Kms key to decrypt secrets"
default = null
type = list(string)
default = []
}

0 comments on commit 05473e7

Please sign in to comment.