-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdeploy.sh
executable file
·20 lines (18 loc) · 963 Bytes
/
deploy.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env bash
SSM_PARAMS_PREFIX=${ALIS_APP_ID}ssm
aws cloudformation deploy \
--template-file template.yaml \
--capabilities CAPABILITY_IAM \
--parameter-overrides \
AlisAppId=${ALIS_APP_ID} \
ParityNodesAMI=${SSM_PARAMS_PREFIX}ParityNodesAMI \
BastionAllocationId=${SSM_PARAMS_PREFIX}BastionAllocationId \
NatAllocationId=${SSM_PARAMS_PREFIX}NatAllocationId \
EC2DeleteOnTermination=${SSM_PARAMS_PREFIX}EC2DeleteOnTermination \
AccountsNewRequestPassword=${SSM_PARAMS_PREFIX}AccountsNewRequestPassword \
ParityNodesInstanceType=${SSM_PARAMS_PREFIX}ParityNodesInstanceType \
ParityNodesVolumeSize=${SSM_PARAMS_PREFIX}ParityNodesVolumeSize \
PrivateChainMainSigner=${SSM_PARAMS_PREFIX}PrivateChainMainSigner \
PrivateChainAlisTokenAddress=${SSM_PARAMS_PREFIX}PrivateChainAlisTokenAddress \
PrivateChainBridgeAddress=${SSM_PARAMS_PREFIX}PrivateChainBridgeAddress \
--stack-name ${ALIS_APP_ID}privatechain