Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aws-tools/lambda/stopinstances.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import boto3

# Array of regions we want to scan for running instances
regions = ["us-west-1", "us-west-2", "us-east-1", "us-east-2"]
regions = ["us-west-1", "us-west-2", "us-east-1", "us-east-2", "ap-southeast-1"]

# Dictionary that holds the key/value pair for each region
# key = key e.g. 'us-west-1'
Expand Down
2 changes: 1 addition & 1 deletion aws-tools/s3-create.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import os
import json

regions = ["us-west-1", "us-west-2", "us-east-1", "us-east-2"]
regions = ["us-west-1", "us-west-2", "us-east-1", "us-east-2", "ap-southeast-1"]

try:
aws_access_key_id = os.environ["AWS_ACCESS_KEY_ID"]
Expand Down
2 changes: 1 addition & 1 deletion aws-tools/s3-delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import getopt
import os

regions = ["us-west-1", "us-west-2", "us-east-1", "us-east-2"]
regions = ["us-west-1", "us-west-2", "us-east-1", "us-east-2", "ap-southeast-1"]
aws_access_key_id = os.environ["AWS_ACCESS_KEY_ID"]
aws_secret_access_key = os.environ["AWS_SECRET_ACCESS_KEY"]

Expand Down
2 changes: 1 addition & 1 deletion aws-tools/s3-sync-buckets.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import sys
import getopt

regions = ["us-west-1", "us-west-2", "us-east-1", "us-east-2"]
regions = ["us-west-1", "us-west-2", "us-east-1", "us-east-2", "ap-southeast-1"]
aws_access_key_id = os.environ["AWS_ACCESS_KEY_ID"]
aws_secret_access_key = os.environ["AWS_SECRET_ACCESS_KEY"]

Expand Down
2 changes: 1 addition & 1 deletion aws-tools/start-instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import getopt

filter = ""
regions = ["us-west-1", "us-west-2", "us-east-1", "us-east-2"]
regions = ["us-west-1", "us-west-2", "us-east-1", "us-east-2", "ap-southeast-1"]
allInstances = {}

# Remove 1st argument from the
Expand Down
2 changes: 1 addition & 1 deletion aws-tools/status-instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import getopt

filter = ""
regions = ["us-west-1", "us-west-2", "us-east-1", "us-east-2"]
regions = ["us-west-1", "us-west-2", "us-east-1", "us-east-2", "ap-southeast-1"]
allInstances = {}

# Remove 1st argument from the
Expand Down
2 changes: 1 addition & 1 deletion aws-tools/stop-instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import getopt

filter = ""
regions = ["us-west-1", "us-west-2", "us-east-1", "us-east-2"]
regions = ["us-west-1", "us-west-2", "us-east-1", "us-east-2", "ap-southeast-1"]
# regions=['us-east-2']
allInstances = {}

Expand Down