From 897e4ffaeb57e07f8e60a6cf659d7ea8b4d810d0 Mon Sep 17 00:00:00 2001 From: Guslington Date: Thu, 6 Jun 2019 12:12:00 +1000 Subject: [PATCH] bug fix for service discovery task policy --- ecs-service.cfndsl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecs-service.cfndsl.rb b/ecs-service.cfndsl.rb index 265b66e..495013e 100644 --- a/ecs-service.cfndsl.rb +++ b/ecs-service.cfndsl.rb @@ -162,7 +162,7 @@ route53:DeleteHealthCheck route53:UpdateHealthCheck ) - policies << iam_policy_allow(name,actions,'*') + policies << iam_policy_allow('ecs-service-discovery',actions,'*') end IAM_Role('TaskRole') do