aws / aws-toolkit-azure-devops

AWS Toolkit for Azure DevOps
Other
235 stars 100 forks source link

AWS SSM Run Command issue with SNS Notifications #529

Open lhgomes opened 10 months ago

lhgomes commented 10 months ago

Describe the bug

Error raised by AWS Systems Manager SendCommand when the Run Command task includes SNS Notifications

To reproduce

1- Create a task using the AWS SSM Run Command 2- Setup the SNS Notifications 3- Run the pipeline

Expected behavior

API should not raise parameter errors

Screenshots

Your Environment

Additional context

Toolkit is sending wrong parameters to AWS Systems Manager SendCommand API:

Value 'command' at 'notificationConfig.notificationType' failed to satisfy constraint: Member must satisfy enum value set: [Command, Invocation]; Value '[all]' at 'notificationConfig.notificationEvents' failed to satisfy constraint: Member must satisfy constraint: [Member must satisfy enum value set: [All, Success, Cancelled, InProgress, TimedOut, Failed]]

AWS Document Screenshot 2023-08-23 171049