Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 8f4cc41

Browse files
authored
fix(runners): Fix path to SSM cloudwatch config parameter on Windows (#2922)
fix(runners): Fix incorrect path to SSM cloudwatch config parameter.
1 parent d602b5e commit 8f4cc41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: modules/runners/templates/start-runner.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Write-Host "Retrieved $ssm_config_path/token_path parameter - ($token_path)"
4242
if ($enable_cloudwatch_agent -eq "true")
4343
{
4444
Write-Host "Enabling CloudWatch Agent"
45-
& 'C:\Program Files\Amazon\AmazonCloudWatchAgent\amazon-cloudwatch-agent-ctl.ps1' -a fetch-config -m ec2 -s -c "ssm:$environment-cloudwatch_agent_config_runner"
45+
& 'C:\Program Files\Amazon\AmazonCloudWatchAgent\amazon-cloudwatch-agent-ctl.ps1' -a fetch-config -m ec2 -s -c "ssm:$ssm_config_path/cloudwatch_agent_config_runner"
4646
}
4747

4848
## Configure the runner

0 commit comments

Comments
 (0)