From 5aeb2d0ba8fd9ba0f2b59cda6db210dd3a396952 Mon Sep 17 00:00:00 2001 From: Terence Tuhinanshu Date: Wed, 10 Apr 2024 15:16:38 -0400 Subject: [PATCH] Explicitly set AWS_REGION in Worker VM This is needed for the new geoprocessing service --- deployment/ansible/group_vars/all | 2 ++ .../ansible/roles/model-my-watershed.base/defaults/main.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/deployment/ansible/group_vars/all b/deployment/ansible/group_vars/all index c00780e2e..dc4d83eed 100644 --- a/deployment/ansible/group_vars/all +++ b/deployment/ansible/group_vars/all @@ -1,4 +1,6 @@ --- +aws_region: "us-east-1" + redis_port: 6379 postgresql_port: 5432 diff --git a/deployment/ansible/roles/model-my-watershed.base/defaults/main.yml b/deployment/ansible/roles/model-my-watershed.base/defaults/main.yml index d56ade259..78199f05b 100644 --- a/deployment/ansible/roles/model-my-watershed.base/defaults/main.yml +++ b/deployment/ansible/roles/model-my-watershed.base/defaults/main.yml @@ -1,6 +1,7 @@ envdir_home: "/etc/mmw.d/env" envdir_config: + AWS_REGION: "{{ aws_region }}" MMW_DB_NAME: "{{ postgresql_database }}" MMW_DB_USER: "{{ postgresql_username }}" MMW_DB_PASSWORD: "{{ postgresql_password }}"