forked from humio/cloudwatch2humio
-
Notifications
You must be signed in to change notification settings - Fork 2
/
deploy-using-profile.sh
executable file
·16 lines (13 loc) · 1.21 KB
/
deploy-using-profile.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
set -e
cat cloudformation.json | jq
make build
aws s3 cp --acl public-read cloudformation.json s3://humio-public-us-east-1/ --region us-east-1 --profile cloudwatch
aws s3 cp --acl public-read cloudformation-no-trail.json s3://humio-public-us-east-1/ --region us-east-1 --profile cloudwatch
aws s3 cp --acl public-read target/v1.2.1_cloudwatch2humio.zip s3://humio-public-eu-central-1/ --region eu-central-1 --profile cloudwatch
aws s3 cp --acl public-read target/v1.2.1_cloudwatch2humio.zip s3://humio-public-eu-west-1/ --region eu-west-1 --profile cloudwatch
aws s3 cp --acl public-read target/v1.2.1_cloudwatch2humio.zip s3://humio-public-eu-west-2/ --region eu-west-2 --profile cloudwatch
aws s3 cp --acl public-read target/v1.2.1_cloudwatch2humio.zip s3://humio-public-eu-north-1/ --region eu-north-1 --profile cloudwatch
aws s3 cp --acl public-read target/v1.2.1_cloudwatch2humio.zip s3://humio-public-us-east-1/ --region us-east-1 --profile cloudwatch
aws s3 cp --acl public-read target/v1.2.1_cloudwatch2humio.zip s3://humio-public-us-east-2/ --region us-east-2 --profile cloudwatch
aws s3 cp --acl public-read target/v1.2.1_cloudwatch2humio.zip s3://humio-public-us-west-2/ --region us-west-2 --profile cloudwatch