Skip to content

Commit bba7b90

Browse files
authored
Add ssm:GetParameter to runner-ssm-parameters (#446)
* Add ssm:GetParameter to runner-ssm-parameters Fixes #445 Currently, instances are failing to launch, with the error message logged in `/var/log/cloud-init.log`: ``` Fail to fetch/remove json config: AccessDeniedException: User: arn:aws:sts::<account-number>:assumed-role/github-runners-github-action-runners-runner-role/<instance-id> is not authorized to perform: ssm:GetParameter on resource: arn:aws:ssm:us-west-2:<account-number>:parameter/github-runners-cloudwatch_agent_config_runner ``` Add the `ssm:GetParameter` to runner-ssm-parameters * Update CHANGELOG.md
1 parent ce2f8c6 commit bba7b90

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
- Fix missing permissions for CloudWatch Agent #445 @bennettp123
12+
1013
## [0.8.1] - 2020-12-08
1114
### Changed
1215
- Policy is missing for streaming logs to cloudwatch #388

modules/runners/policies/instance-ssm-parameters-policy.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
},
99
{
1010
"Effect": "Allow",
11-
"Action": ["ssm:GetParameters"],
11+
"Action": [
12+
"ssm:GetParameters",
13+
"ssm:GetParameter"
14+
],
1215
"Resource": "${arn_ssm_parameters}"
1316
}
1417
]

0 commit comments

Comments
 (0)