-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(aws-ecs): downscope permissions required by instance draining hook #2761
Conversation
8abbb8b
to
7fcdab5
Compare
What does it mean, "can only be performed by ECS Agent"? Can I not take the SDK and make the same call? If the SDK does not have it, can I not take If you feel very secure in this reasoning, put it in the code as well please (in a comment) so the reasoning will be easily discovered later. |
5c3047a
to
0fbb063
Compare
After further offline discussions, 'ecs:SubmitContainerStateChange' and 'ecs:SubmitTaskStateChange' have been restricted to the cluster. |
b107b28
to
d064196
Compare
41e7458
to
a122137
Compare
…CS Cluster actions
483dc0a
to
32d8ac6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the hard work Piradeep!
…ws#2761) Minimize the IAM permissions required for the instance draining hook.
PR to address issue #1204.
"arn:aws:autoscaling:us-east-2:123456789012:autoScalingGroup:*:autoScalingGroupName/group-name"
Pull Request Checklist
design
folderBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.