From 37c89fb6ef35e6db86440c025b610ddc695c24c1 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Thu, 12 Feb 2026 12:34:58 +0000 Subject: [PATCH] address2uprn --- infrastructure/terraform/lambda/address2UPRN/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/terraform/lambda/address2UPRN/main.tf b/infrastructure/terraform/lambda/address2UPRN/main.tf index 12f0a4b3..a6f56074 100644 --- a/infrastructure/terraform/lambda/address2UPRN/main.tf +++ b/infrastructure/terraform/lambda/address2UPRN/main.tf @@ -47,6 +47,6 @@ module "address2uprn" { # Attach S3 read policy to the Lambda execution role resource "aws_iam_role_policy_attachment" "address2uprn_read_and_write" { - role = module.lambda.role_name + role = module.address2uprn.role_name policy_arn = data.terraform_remote_state.shared.outputs.address_2_uprn_s3_read_and_write_arn } \ No newline at end of file