From e61a50f0fd52134d9362fc796a0fdb90ae5ce159 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Fri, 17 Apr 2026 15:14:29 +0000 Subject: [PATCH] sqs policy terraform correction --- infrastructure/terraform/lambda/hubspot_deal_etl/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/terraform/lambda/hubspot_deal_etl/main.tf b/infrastructure/terraform/lambda/hubspot_deal_etl/main.tf index 32f0ba31..48dd6b78 100644 --- a/infrastructure/terraform/lambda/hubspot_deal_etl/main.tf +++ b/infrastructure/terraform/lambda/hubspot_deal_etl/main.tf @@ -74,6 +74,6 @@ module "hubspot_deal_etl_sqs_policy" { } resource "aws_iam_role_policy_attachment" "hubspot_deal_etl_sqs_send" { - role = module.lambda.role_name + role = module.hubspot_deal_etl.role_name policy_arn = module.hubspot_deal_etl_sqs_policy.policy_arn } \ No newline at end of file