File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class AccessControl:
1111 ACCESS_CONTROL_URL=http://localhost:3011/access-control
1212
1313 For AWS:
14- ENVIRONMENT_NAME=SIT
14+ ENVIRONMENT_NAME=sit
1515 CMR_ACCESS_CONTROL_PROTOCOL=https
1616 CMR_ACCESS_CONTROL_PORT=3011
1717 CMR_ACCESS_CONTROL_HOST=cmr.sit.earthdata.nasa.gov
@@ -50,7 +50,7 @@ def get_url_from_parameter_store(self):
5050 raise ValueError ("ENVIRONMENT_NAME environment variable is not set" )
5151
5252 # construct the access control parameter names from the environment variable
53- pre_fix = f"/{ environment_name } /ingest/"
53+ pre_fix = f"/{ environment_name . lower () } /ingest/"
5454 protocol_param_name = f"{ pre_fix } CMR_ACCESS_CONTROL_PROTOCOL"
5555 port_param_name = f"{ pre_fix } CMR_ACCESS_CONTROL_PORT"
5656 host_param_name = f"{ pre_fix } CMR_ACCESS_CONTROL_HOST"
You can’t perform that action at this time.
0 commit comments