Created
October 19, 2016 07:49
-
-
Save dakatsuka/ce433e9805292132e6776bbcef9ddcb2 to your computer and use it in GitHub Desktop.
IAM Policy for ECS instance with dd-agent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ecs:RegisterContainerInstance", | |
"ecs:DeregisterContainerInstance", | |
"ecs:DiscoverPollEndpoint", | |
"ecs:StartTelemetrySession", | |
"ecs:Submit*", | |
"ecs:Poll", | |
"ecs:StartTask", | |
"ecs:StartTelemetrySession", | |
"ecr:BatchGetImage", | |
"ecr:GetAuthorizationToken", | |
"ecr:BatchCheckLayerAvailability", | |
"ecr:GetDownloadUrlForLayer", | |
"logs:CreateLogStream", | |
"logs:PutLogEvents" | |
], | |
"Resource": [ | |
"*" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment