Skip to content

Commit

Permalink
Merge pull request #1 from filc/master
Browse files Browse the repository at this point in the history
default region and possibility to change region
  • Loading branch information
laco committed Mar 2, 2016
2 parents c668fb8 + 4935de4 commit 47419c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scotty/ecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import boto3


def ecs_connection(region_name):
def ecs_connection(region_name='us-east-1'):
# """The original boto function is broken on python3, this works!"""

# def regions():
Expand All @@ -18,7 +18,7 @@ def ecs_connection(region_name):
# return region.connect(**kw_params)
# return None
# return connect_to_region(region_name)
return boto3.client('ecs', region_name='us-east-1')
return boto3.client('ecs', region_name=region_name)


def deploy(ctx, tag, strategy='canary'):
Expand Down

0 comments on commit 47419c8

Please sign in to comment.