File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
terraform/dotnet/ec2/windows Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ resource "aws_ssm_document" "main_service_setup" {
178178 " Write-Host 'Install Finished'",
179179 " break",
180180 " } else {",
181- " $call_cloudwatch = & 'C:\Program Files\Amazon\AmazonCloudWatchAgent\amazon-cloudwatch-agent-ctl.ps1'",
181+ " $call_cloudwatch = & 'C:\\ Program Files\\ Amazon\\ AmazonCloudWatchAgent\ \amazon-cloudwatch-agent-ctl.ps1'",
182182 " Write-Host 'Cloudwatch Agent not found. Checking again in $interval seconds...'",
183183 " Start-Sleep -Seconds $interval",
184184 " $elapsedTime += $interval",
@@ -285,7 +285,7 @@ resource "aws_ssm_document" "remote_service_setup" {
285285 " Write-Host 'Install Finished'",
286286 " break",
287287 " } else {",
288- " $call_cloudwatch = & 'C:\Program Files\Amazon\AmazonCloudWatchAgent\amazon-cloudwatch-agent-ctl.ps1'",
288+ " $call_cloudwatch = & 'C:\\ Program Files\\ Amazon\\ AmazonCloudWatchAgent\ \amazon-cloudwatch-agent-ctl.ps1'",
289289 " Write-Host 'Cloudwatch Agent not found. Checking again in $interval seconds...'",
290290 " Start-Sleep -Seconds $interval",
291291 " $elapsedTime += $interval",
You can’t perform that action at this time.
0 commit comments