We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f25d871 commit b67c7dcCopy full SHA for b67c7dc
modules/runners/templates/start-runner.ps1
@@ -30,7 +30,7 @@ Write-Host "Retrieved /$environment/runner/enable-cloudwatch parameter - ($enab
30
$agent_mode=$parameters.where( {$_.Name -eq "/$environment/runner/agent-mode"}).value
31
Write-Host "Retrieved /$environment/runner/agent-mode parameter - ($agent_mode)"
32
33
-if ($enable_cloudwatch_agent)
+if ($enable_cloudwatch_agent -eq "true")
34
{
35
Write-Host "Enabling CloudWatch Agent"
36
& 'C:\Program Files\Amazon\AmazonCloudWatchAgent\amazon-cloudwatch-agent-ctl.ps1' -a fetch-config -m ec2 -s -c "ssm:$environment-cloudwatch_agent_config_runner"
0 commit comments