source venv/bin/activate
pip freeze > requirements.txt
pip install -r requirements.txt
cd terraform
terraform plan
terraform apply
terraform destroy
python scripts/upload_new_document.py
python scripts/upload_to_processed_bucket.py
*** update script in s3 bucket : aws s3 cp scripts/scripts/scripts/scripts/scripts/glue_etl_script s3://etl-glue-scripts-bucket/glue_etl_script
aws configure
aws s3 ls s3://etl-raw-zone-bucket/
cd lambda_functions/lambda_package zip -r ../../zipped_lambda_functions/lambda_package.zip . cd ../..
cd lambda_functions/new_lambda_package zip -r ../../zipped_lambda_functions/start_glue_etl_job_lambda.zip . cd ../..
cd lambda_functions/glue_job_completion zip -r ../../zipped_lambda_functions/notify_glue_job_completion_lambda.zip notify_glue_job_completion.py cd ../..
aws s3 ls s3://etl-raw-zone-bucket
aws lambda invoke
--function-name etl-s3-ingest
response.json