Skip to content

Commit 5fe0466

Browse files
authored
VED-000: Update ECR repository reference in lambda.tf (#1343)
* Update ECR repository reference in lambda.tf to use the resource name directly * Update ECR repository reference in lambda.tf to use a formatted name and add dependency on the repository. This change enhances clarity and ensures the Lambda module correctly references the ECR repository for image management. * Refactor ECR repository reference in lambda.tf to use direct name attribute instead of formatted string. This change improves clarity and ensures accurate dependency management for the Lambda module.
1 parent 7ca4ce0 commit 5fe0466

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infrastructure/instance/lambda.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module "docker_image" {
1919
version = "8.7.0"
2020

2121
create_ecr_repo = false
22-
ecr_repo = "${local.prefix}-operation-lambda-repo"
22+
ecr_repo = aws_ecr_repository.operation_lambda_repository.name
2323
docker_file_path = "./backend/Dockerfile"
2424
ecr_repo_lifecycle_policy = jsonencode({
2525
"rules" : [

0 commit comments

Comments
 (0)