Skip to content

Commit cf53cfa

Browse files
authored
Merge pull request #1772 from vasireddy99/fixstart
[chore]Pass the FeatureGate appropriately in start command
2 parents fb25194 + dade0f1 commit cf53cfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/ec2/amis.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ variable "ami_family" {
5050
otconfig_destination = "C:\\ot-default.yml"
5151
download_command_pattern = "powershell -command \"Invoke-WebRequest -Uri %s -OutFile C:\\aws-otel-collector.msi\""
5252
install_command = "msiexec /i C:\\aws-otel-collector.msi"
53-
start_command = "powershell -command \"&{ $url = \\\"$([System.Text.Encoding]::ASCII.GetString([System.Convert]::FromBase64String('CONFIGURATION_URI_PLACEHOLDER')))\\\"; . 'C:\\Program Files\\Amazon\\AwsOtelCollector\\aws-otel-collector-ctl.ps1' -ConfigLocation \\\"$url\\\" -FeatureGates FEATUREGATE_PLACEHOLDER -Action start}\""
53+
start_command = "powershell -command \"&{ $url = \\\"$([System.Text.Encoding]::ASCII.GetString([System.Convert]::FromBase64String('CONFIGURATION_URI_PLACEHOLDER')))\\\"; . 'C:\\Program Files\\Amazon\\AwsOtelCollector\\aws-otel-collector-ctl.ps1' -ConfigLocation \\\"$url\\\" -FeatureGates \\\"FEATUREGATE_PLACEHOLDER\\\" -Action start}\""
5454
status_command = "powershell \"& 'C:\\Program Files\\Amazon\\AwsOtelCollector\\aws-otel-collector-ctl.ps1' -Action status\""
5555
ssm_validate = "powershell \"& 'C:\\Program Files\\Amazon\\AwsOtelCollector\\aws-otel-collector-ctl.ps1' -Action status\" | findstr running"
5656
connection_type = "winrm"

0 commit comments

Comments
 (0)