diff --git a/infrastructure/terraform/lambda/engine/main.tf b/infrastructure/terraform/lambda/engine/main.tf index 6f6b20ce..2302aaf6 100644 --- a/infrastructure/terraform/lambda/engine/main.tf +++ b/infrastructure/terraform/lambda/engine/main.tf @@ -69,12 +69,7 @@ module "lambda" { ### Policies and IAM # S3 -resource "aws_iam-role_policy_attachment" "engine_s3_read_and_write" { +resource "aws_iam_role_policy_attachment" "engine_s3_read_and_write" { role = module.lambda.role_name policy_arn = data.terraform_remote_state.shared.outputs.engine_s3_read_and_write_arn -} - -# Logs - - -# SQS +} \ No newline at end of file