-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from terra-mod/ecs-iam-role-changes
Separates execution and task role
- Loading branch information
Showing
3 changed files
with
101 additions
and
21 deletions.
There are no files selected for viewing
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
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
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
@kmfk This needs to be
"${var.cloudwatch_log_group_arn}:*"
The action PutLogEvents and CreateLogStream work on theLogGroup, not on the LogStream. Otherwise the containers crash on creating with being unable to create them. So you need that wildcard there.
This inherently broke a set-up now as all the log-groups are unable to be written to without an additional policy in execution roles.
User: REDACTED:assumed-role/REDACTED-execution-role/CONTAINERID is not authorized to perform: logs:CreateLogStream on resource: arn:aws:logs:eu-central-1:REDACTED