Skip to content

Commit

Permalink
Fixing import export string (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnPreston authored Oct 29, 2020
1 parent d753473 commit c46c208
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ecs_composex/resource_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ def add_iam_policy_to_service_task_role(
def get_selected_services(resource, target):
"""
Function to get the selected services
:param target:
:param resource: The resource linking to services
:param target: the service/family target definition
:return:
"""
if not target[1] and target[2]:
Expand All @@ -137,7 +139,7 @@ def map_service_perms_to_resource(resource, family, services, access_type, arn=N
:return:
"""
res_perms = generate_resource_permissions(
f"AccessTo{resource.logical_name}",
resource.logical_name,
resource.policies_scaffolds,
resource.arn_attr,
arn,
Expand Down

0 comments on commit c46c208

Please sign in to comment.