We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90553e1 commit e0e1072Copy full SHA for e0e1072
1 file changed
infrastructure/terraform/components/api/module_lambda_allocation.tf
@@ -38,20 +38,20 @@ module "allocation_lambda" {
38
lambda_env_vars = {
39
QUEUE_URL = module.sqs_letter_updates.sqs_queue_url
40
}
41
+}
42
- data "aws_iam_policy_document" "allocation_lambda" {
43
- statement {
44
- sid = "KMSPermissions"
45
- effect = "Allow"
+data "aws_iam_policy_document" "allocation_lambda" {
+ statement {
+ sid = "KMSPermissions"
46
+ effect = "Allow"
47
- actions = [
48
- "kms:Decrypt",
49
- "kms:GenerateDataKey",
50
- ]
+ actions = [
+ "kms:Decrypt",
+ "kms:GenerateDataKey",
51
+ ]
52
- resources = [
53
- module.kms.key_arn,
54
55
- }
+ resources = [
+ module.kms.key_arn,
56
57
0 commit comments