-
Notifications
You must be signed in to change notification settings - Fork 93
Description
Describe the bug
Attempting to install CloudWatch on an EC2 instance works in the aws console ui and works with aws cli with parameters argument, however using PowerShell (7.2.5) (aws.tools version 4.1.42) Send-SSMCommand errors that the document does not support parameters. Surely the document supports parameters because if I run the Powershell code below without the parameter (or parameters, with an S) there is no package name specified so it wouldn't even know what package to install.
Here shows that running the same command using the awscli is working with parameters flag
Expected Behavior
Parameter(s) flag should be accepted and return data from AWS
Current Behavior
Send-SSMCommand: document AWS-ConfigureAWSPackage does not support parameters.
Reproduction Steps
Simply run the command included in the screenshot. This is just an attempt to install CloudWatch agent onto EC2 instance via RunCommand.
Possible Solution
No response
Additional Information/Context
No response
AWS Tools for PowerShell version used
AWS.Tools 4.1.42
PowerShell version used
7.2.5
Core
7.2.5
Microsoft Windows 10.0.19042
Win32NT
{1.0,2.0,3.0,4.0...}
2.3
1.1.0.1
3.0
Operating System and version
Windows 10