mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-30 13:10:56 +00:00
brand new image
This commit is contained in:
parent
f5d63ca844
commit
3133fb74be
3 changed files with 4 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue