diff --git a/README.md b/README.md index eca18ed..90be3d6 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Note: Once done running all python commands call `deactivate` to stop using the 1. Cd to the root directory of the project. 1. Run this command to install a local copy of the Python libraries required for the lambdas. * `pip3 install -r lambda-functions/state_machine_lambdas/requirements.txt -t lambda-functions/state_machine_lambdas --upgrade` -1. Run `sam build` +1. Run `GOOS=linux GOARCH=amd64 CGO_ENABLED=0 sam build` 1. Optional step: Run `python3 -m unittest` within the test containing directory to execute all unit tests in python 1. Optional step: If you are a developer and want to invoke the Lambda functions locally, run `sam local invoke ` diff --git a/bin/bash/deploy-tre.sh b/bin/bash/deploy-tre.sh index 4dbac79..d9063e7 100755 --- a/bin/bash/deploy-tre.sh +++ b/bin/bash/deploy-tre.sh @@ -75,7 +75,7 @@ pip3 install -r lambda-functions/state_machine_lambdas/requirements.txt \ -t lambda-functions/state_machine_lambdas \ --upgrade -sam build +GOOS=linux GOARCH=amd64 CGO_ENABLED=0 sam build echo "Deploying the bootstrap bucket stack." source $SCRIPT_DIR/deploy-bootstrap-bucket-stack.sh