diff --git a/.github/workflows/testnet-deployment.yml b/.github/workflows/testnet-deployment.yml index 68a095a0..d1dc7b51 100644 --- a/.github/workflows/testnet-deployment.yml +++ b/.github/workflows/testnet-deployment.yml @@ -41,6 +41,10 @@ jobs: - name: SG1 env run: | echo "${{secrets.SG1_TESTNET_JSON_BASE64 }}" | base64 -d > .env.sg1.testnet.json + + - name: AU1 env + run: | + echo "${{secrets.AU1_TESTNET_JSON_BASE64 }}" | base64 -d > .env.au1.testnet.json # install packages and run deploy - id: nvmrc @@ -59,3 +63,6 @@ jobs: # do SG1 deployment - run: yarn lambda-update-testnet-sg1 + # do AU1 deployment + - run: yarn lambda-update-testnet-au1 + diff --git a/claudia.au1.testnet.json b/claudia.au1.testnet.json new file mode 100644 index 00000000..312d9696 --- /dev/null +++ b/claudia.au1.testnet.json @@ -0,0 +1,11 @@ +{ + "lambda": { + "role": "arn:aws:iam::737954963756:role/verida_storage-node-executor", + "name": "storage-node-au1-testnet", + "region": "ap-southeast-2", + "sharedRole": true + }, + "api": { + "id": "g1e2uq6mqf" + } +} \ No newline at end of file diff --git a/package.json b/package.json index 022bcf37..b0be04c2 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,9 @@ "lambda-deploy-testnet-sg1": "yarn build && yarn claudia create --config claudia.sg1.testnet.json --name 'storage-node-sg1-testnet' --region ap-southeast-1 --role arn:aws:iam::737954963756:role/verida_storage-node-executor --handler lambda.handler --deploy-proxy-api --no-optional-dependencies --set-env-from-json .env.sg1.testnet.json", "lambda-update-testnet-sg1": "yarn build && yarn claudia update --config claudia.sg1.testnet.json --set-env-from-json .env.sg1.testnet.json", + "lambda-deploy-testnet-au1": "yarn build && yarn claudia create --config claudia.au1.testnet.json --name 'storage-node-au1-testnet' --region ap-southeast-2 --role arn:aws:iam::737954963756:role/verida_storage-node-executor --handler lambda.handler --deploy-proxy-api --no-optional-dependencies --set-env-from-json .env.au1.testnet.json", + "lambda-update-testnet-au1": "yarn build && yarn claudia update --config claudia.au1.testnet.json --set-env-from-json .env.au1.testnet.json", + "lambda-pack": "yarn build && yarn claudia pack --no-optional-dependencies" }, "files": [