This commit is contained in:
Jun-te Kim 2025-07-17 10:41:14 +00:00
parent 00b699ec24
commit 53343c625e
3 changed files with 3 additions and 3 deletions

View file

@ -76,7 +76,7 @@ jobs:
- name: Build, tag, and push Docker image to ECR
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
IMAGE_TAG: latest3
IMAGE_TAG: latest5
run: |
IMAGE_URI=${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:${{ env.IMAGE_TAG }}
echo "pwd"

View file

@ -52,7 +52,7 @@ resource "aws_lambda_function" "extractor_and_loader" {
function_name = "extractor-and-loader"
role = aws_iam_role.lambda_exec_role.arn
package_type = "Image"
image_uri = "${aws_ecr_repository.extractor_and_loader.repository_url}:latest"
image_uri = "${aws_ecr_repository.extractor_and_loader.repository_url}:latest5"
timeout = 30
}

View file

@ -73,7 +73,7 @@ resource "aws_lambda_function" "lambda_example" {
function_name = "lambda-example"
role = aws_iam_role.lambda_exec_role.arn
package_type = "Image"
image_uri = "${aws_ecr_repository.lambda_example.repository_url}:latest"
image_uri = "${aws_ecr_repository.lambda_example.repository_url}:latest4"
timeout = 10
}