diff --git a/targets/slideruleearth-aws/Makefile b/targets/slideruleearth-aws/Makefile index 1748acdcf..714c96411 100644 --- a/targets/slideruleearth-aws/Makefile +++ b/targets/slideruleearth-aws/Makefile @@ -158,6 +158,9 @@ perfstest: ## run strips performance test on the server code perfsubsetest: ## run subset performance test $(SERVER_STAGE_DIR)/bin/sliderule $(SUBSET_PERFORMANCE_TEST) +manager-package: ## create the lambda python package for the manager + cd terraform/manager/python && ./package.sh + manager-deploy: ## deploy manager using terraform; needs DOMAIN cd terraform/manager && terraform init cd terraform/manager && terraform workspace select $(DOMAIN)-manager || terraform workspace new $(DOMAIN)-manager diff --git a/targets/slideruleearth-aws/terraform/manager/python/package.sh b/targets/slideruleearth-aws/terraform/manager/python/package.sh index 1561414fd..6a18d31e5 100755 --- a/targets/slideruleearth-aws/terraform/manager/python/package.sh +++ b/targets/slideruleearth-aws/terraform/manager/python/package.sh @@ -5,7 +5,7 @@ set -e readonly SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" readonly CERTBOT_VERSION=2.6.0 readonly VENV="certbot/venv" -readonly PYTHON="python3.11" +readonly PYTHON="python3.8" readonly CERTBOT_ZIP_FILE="certbot-${CERTBOT_VERSION}.zip" readonly CERTBOT_SITE_PACKAGES=${VENV}/lib/${PYTHON}/site-packages diff --git a/targets/slideruleearth-aws/terraform/manager/variables.tf b/targets/slideruleearth-aws/terraform/manager/variables.tf index 044945b8c..aad46ddd5 100644 --- a/targets/slideruleearth-aws/terraform/manager/variables.tf +++ b/targets/slideruleearth-aws/terraform/manager/variables.tf @@ -41,7 +41,7 @@ variable "lambda_architectures" { variable "lambda_runtime" { description = "Name of the runtime for lambda function." type = string - default = "python3.11" + default = "python3.8" } variable "lambda_memory_size" {