make the fix for module name

This commit is contained in:
Jun-te Kim 2026-03-31 14:47:52 +00:00
parent bba88bc077
commit 1ac5cb253a

View file

@ -39,6 +39,6 @@ module "hubspot_deal_etl" {
}
resource "aws_iam_role_policy_attachment" "lambda_s3_policy" {
role = module.lambda.role_name
role = module.hubspot_deal_etl.role_name
policy_arn = data.terraform_remote_state.shared.outputs.hubspot_etl_s3_read_and_write_arn
}