generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdeploy.sh
More file actions
executable file
·12 lines (7 loc) · 858 Bytes
/
deploy.sh
File metadata and controls
executable file
·12 lines (7 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
ver=1.0
for r in `aws ec2 describe-regions --query Regions[*].RegionName --output text`; do aws s3 cp dist/aurora-postgres-advanced-monitoring-$ver.zip s3://awslabs-code-$r/AuroraPostgresAdvancedMonitoring/aurora-postgres-advanced-monitoring-$ver.zip --acl public-read --region $r; done
for r in `aws ec2 describe-regions --query Regions[*].RegionName --output text`; do aws s3 cp deploy-vpc.yaml s3://awslabs-code-$r/AuroraPostgresAdvancedMonitoring/deploy-vpc.yaml --acl public-read --region $r; done
for r in `aws ec2 describe-regions --query Regions[*].RegionName --output text`; do aws s3 cp deploy-non-vpc.yaml s3://awslabs-code-$r/AuroraPostgresAdvancedMonitoring/deploy-non-vpc.yaml --acl public-read --region $r; done