diff --git a/integ/test_init/integ_test/integ_test/integ_test_stack.py b/integ/test_init/integ_test/integ_test/integ_test_stack.py index 2d8ebd772..57f919208 100644 --- a/integ/test_init/integ_test/integ_test/integ_test_stack.py +++ b/integ/test_init/integ_test/integ_test/integ_test_stack.py @@ -51,6 +51,11 @@ def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None: }, ) + task_definition.execution_role.add_managed_policy( + iam.ManagedPolicy.from_managed_policy_arn(self, 'ecsExecutionRole', + managed_policy_arn='arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy') + ) + task_definition.task_role.add_managed_policy( iam.ManagedPolicy.from_aws_managed_policy_name("AmazonS3FullAccess") )