bootstrap.sh 539 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
#Required Env Variables

#AWS_BASE_URL
#AWS_DEPLOYMENTS_SUBDIR
#AWS_REGION
#AWS_COGNITO_CLIENT_ID
#AWS_COGNITO_AUTH_FLOW
#AWS_COGNITO_AUTH_PARAMS_USER
#AWS_COGNITO_AUTH_PARAMS_PASSWORD

Rucha Deshpande's avatar
Rucha Deshpande committed
11
12
echo $AWS_BASE_URL
export AWS_SCHEMA_SERVICE_URL=$AWS_BASE_URL/api/schema-service/v1/schema
13
BEARER_TOKEN=`python3 $AWS_DEPLOYMENTS_SUBDIR/Token.py`
Rucha Deshpande's avatar
Rucha Deshpande committed
14
15
16
17
echo $BEARER_TOKEN
export BEARER_TOKEN=$BEARER_TOKEN
export APP_KEY=""
export DATA_PARTITION=common
18
python3 deployments/scripts/DeploySharedSchemas.py -l load_sequence.1.0.0.json -u $AWS_SCHEMA_SERVICE_URL