|
|
|
@ -95,7 +95,6 @@ taskdefinition:
|
|
|
|
|
type: dict inputs plus revision, status, taskDefinitionArn
|
|
|
|
|
'''
|
|
|
|
|
try:
|
|
|
|
|
import json
|
|
|
|
|
import boto
|
|
|
|
|
import botocore
|
|
|
|
|
HAS_BOTO = True
|
|
|
|
@ -120,7 +119,7 @@ class EcsTaskManager:
|
|
|
|
|
module.fail_json(msg="Region must be specified as a parameter, in EC2_REGION or AWS_REGION environment variables or in boto configuration file")
|
|
|
|
|
self.ecs = boto3_conn(module, conn_type='client', resource='ecs', region=region, endpoint=ec2_url, **aws_connect_kwargs)
|
|
|
|
|
except boto.exception.NoAuthHandlerFound, e:
|
|
|
|
|
self.module.fail_json(msg="Can't authorize connection - "+str(e))
|
|
|
|
|
module.fail_json(msg="Can't authorize connection - "+str(e))
|
|
|
|
|
|
|
|
|
|
def describe_task(self, task_name):
|
|
|
|
|
try:
|
|
|
|
|