Skip to content

Commit

Permalink
fix path to CW agent on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
KlwntSingh committed Mar 6, 2024
1 parent 0b9a30d commit 0b27210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/eks/daemon/windows/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ resource "null_resource" "windows-cwagent" {
command = <<-EOT
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
chmod +x kubectl
sed 's+CW_TEST_IMAGE+${var.cwagent_image_repo}:${var.cwagent_image_tag}+' ./../default_resources/cwagent-windows.yaml | ./kubectl apply -f -
sed 's+CW_TEST_IMAGE+${var.cwagent_image_repo}:${var.cwagent_image_tag}+' ./../../default_resources/cwagent-windows.yaml | ./kubectl apply -f -
sed -e 's+WINDOWS_SERVER_VERSION+${var.windows_os_version}+' -e 's+REPLICAS+1+' ./../../default_resources/test-sample-windows.yaml | ./kubectl apply -f -
./kubectl rollout status daemonset cloudwatch-agent-windows -n amazon-cloudwatch --timeout 600s
./kubectl rollout status deployment windows-test-deployment --timeout 600s
Expand Down

0 comments on commit 0b27210

Please sign in to comment.