brand new image

This commit is contained in:
Jun-te Kim 2025-07-16 16:47:04 +00:00
parent f5d63ca844
commit 3133fb74be
3 changed files with 4 additions and 4 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: latest2
IMAGE_TAG: latest3
run: |
IMAGE_URI=${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:${{ env.IMAGE_TAG }}
echo "pwd"

View file

@ -1,14 +1,14 @@
"""
A quick example of lambda working a function in python
"""
# from etl.read_stuff_from_s3_example import print_hello_from_etl_module
from etl.read_stuff_from_s3_example import print_hello_from_etl_module
def handler(event, context):
print("Outside try statment")
try:
print("show me something.. anything...")
s3_uri = event.get("file_location")
# print_hello_from_etl_module()
print_hello_from_etl_module()
if not s3_uri:
return {
"statusCode": 400,

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}:latest2"
image_uri = "${aws_ecr_repository.extractor_and_loader.repository_url}:latest3"
timeout = 30
}