aws-ssm: CloudFormation failing to update custom resource that references ssm SendCommandCommand #27806
Labels
@aws-cdk/aws-ssm
Related to AWS Systems Manager
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p3
Describe the bug
When adding in a custom resource that calls SSM
SendCommandCommand
, somewhere, this is being translated toSendCommandCommandCommand
(i.e. an extraCommand
is being appended to the SDK call).In my
cdk.out
, I can see the custom resource withsendCommandCommand
, as intended.On CloudFormation deploy, the custom resource fails to deploy with error:
Received response status [FAILED] from custom resource. Message returned: Unable to find command named: SendCommandCommandCommand for action: SendCommandCommand in service package @aws-sdk/client-ssm
Expected Behavior
I expect the custom resource to call SSM
SendCommandCommand
, which is the correct SDK call.Current Behavior
Custom resource calling SSM
SendCommandCommand
is being rewritten toSendCommandCommandCommand
which is nonexiestent in the AWS SDK JS v3 library.Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.103.1 (build 3bb19ac)
Framework Version
No response
Node.js Version
v20.6.1
OS
Ubuntu 23.04
Language
Python
Language Version
Python 3.11.4
Other information
No response
The text was updated successfully, but these errors were encountered: