You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During creation the lifecycle hook will write a test message to SNS, which might fail if the policy gets added later:
24/41 | 12:56:27 | CREATE_FAILED | AWS::AutoScaling::LifecycleHook | Cluster/DefaultAutoScalingGroup/LifecycleHookDrainHook (ClusterDefaultAutoScalingGroupLifecycleHookDrainHook4A9A4325) Unable to publish test message to notification target arn:aws:sns:us-east-1:209640446841:greeting-stack-ClusterDefaultAutoScalingGroupDrainECSHookTopicFF0E6CF4-1JFOXBKO9CQ1U using IAM role arn:aws:iam::209640446841:role/greeting-stack-ClusterDefaultAutoScalingGroupLifec-3SF76AMBEH5O. Please check your target and role configuration and try to put lifecycle hook again. (Service: AmazonAutoScaling; Status Code: 400; Error Code: ValidationError; Request ID: 6fc2dfc0-ec24-11e8-84a2-fb1b7f6a78f3)
The text was updated successfully, but these errors were encountered:
rix0rrr
changed the title
ecs: lifecycle hook needs a dependency on SNS policy
ecs: lifecycle hook needs a dependency on SNS publish role policy
Nov 19, 2018
Add an ordering dependency between the LifecycleHook and the role policy
that grants permissions to perform the action (publish to a topic or
queue).
Without this ordering dependency, the template might fail to deploy.
Fixes#1212.
Add an ordering dependency between the LifecycleHook and the role policy
that grants permissions to perform the action (publish to a topic or
queue).
Without this ordering dependency, the template might fail to deploy.
Fixes#1212.
During creation the lifecycle hook will write a test message to SNS, which might fail if the policy gets added later:
The text was updated successfully, but these errors were encountered: