Skip to content

Commit 4c04e7e

Browse files
author
Jim Robinson
committed
Fix client issue
1 parent dba0e5c commit 4c04e7e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

croudtech_ecs_tools/cli.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import click
22
import boto3
3+
from botocore.config import Config as Boto3Config
34
from click.decorators import command
45
from click.termui import prompt
56
import os
@@ -10,9 +11,10 @@ class EcsTools:
1011

1112
def __init__(self, region):
1213
self.region = region
13-
self.ecs_client = boto3.client("ecs", config={
14-
"region_name": self.region
15-
})
14+
print(self.region)
15+
self.ecs_client = boto3.client("ecs", config=Boto3Config(
16+
region_name= self.region
17+
))
1618

1719
@property
1820
def clusters(self):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from setuptools import setup
22
import os
33

4-
VERSION = "0.1.1"
4+
VERSION = "0.1.2"
55

66

77
def get_long_description():

0 commit comments

Comments
 (0)