Skip to content

Commit 08cddca

Browse files
authored
Merge pull request #227 from cloudnativedaysjp/github_actions_assume_aws_role
add policy for ecschedule
2 parents b9c14b9 + 00e378f commit 08cddca

File tree

1 file changed

+5
-0
lines changed
  • github_actions_assume_aws_role

1 file changed

+5
-0
lines changed

github_actions_assume_aws_role/main.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,8 @@ resource "aws_iam_role_policy_attachment" "ecr-public" {
8080
policy_arn = "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryPowerUser"
8181
role = aws_iam_role.github_actions.name
8282
}
83+
84+
resource "aws_iam_role_policy_attachment" "eventbridge" {
85+
policy_arn = "arn:aws:iam::aws:policy/AmazonEventBridgeFullAccess"
86+
role = aws_iam_role.github_actions.name
87+
}

0 commit comments

Comments
 (0)