From eedf3a7e9145e18f461d42d91b08df453420d62d Mon Sep 17 00:00:00 2001 From: aloftus23 Date: Thu, 14 Mar 2024 14:45:03 -0400 Subject: [PATCH] fix terraform errors --- infrastructure/database.tf | 2 +- infrastructure/pe_worker.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/database.tf b/infrastructure/database.tf index f1b0dc01..d04c4439 100644 --- a/infrastructure/database.tf +++ b/infrastructure/database.tf @@ -166,7 +166,7 @@ resource "aws_iam_role_policy" "db_accessor_s3_policy" { "Action": [ "lambda:InvokeFunction" ], - "Resource": * + "Resource": ["*"] } ] } diff --git a/infrastructure/pe_worker.tf b/infrastructure/pe_worker.tf index 01b6e6d0..573e2776 100644 --- a/infrastructure/pe_worker.tf +++ b/infrastructure/pe_worker.tf @@ -66,7 +66,7 @@ resource "aws_ecs_task_definition" "pe_worker" { { "name": "DB_PORT", "value": "${var.db_port}" - }, + } ], "secrets": [ {