Skip to content

Commit e0e1072

Browse files
committed
terraform fix
1 parent 90553e1 commit e0e1072

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

infrastructure/terraform/components/api/module_lambda_allocation.tf

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,20 @@ module "allocation_lambda" {
3838
lambda_env_vars = {
3939
QUEUE_URL = module.sqs_letter_updates.sqs_queue_url
4040
}
41+
}
4142

42-
data "aws_iam_policy_document" "allocation_lambda" {
43-
statement {
44-
sid = "KMSPermissions"
45-
effect = "Allow"
43+
data "aws_iam_policy_document" "allocation_lambda" {
44+
statement {
45+
sid = "KMSPermissions"
46+
effect = "Allow"
4647

47-
actions = [
48-
"kms:Decrypt",
49-
"kms:GenerateDataKey",
50-
]
48+
actions = [
49+
"kms:Decrypt",
50+
"kms:GenerateDataKey",
51+
]
5152

52-
resources = [
53-
module.kms.key_arn,
54-
]
55-
}
53+
resources = [
54+
module.kms.key_arn,
55+
]
5656
}
5757
}

0 commit comments

Comments
 (0)