aws-toolkit-azure-devops icon indicating copy to clipboard operation
aws-toolkit-azure-devops copied to clipboard

AWS SSM Run Command issue with SNS Notifications

Open lhgomes opened this issue 2 years ago • 0 comments

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

  • On-prem or cloud based?: Cloud
  • Azure DevOps version: Sprint 225
  • AWS Toolkit for Azure DevOps version: 1.13.0

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

lhgomes avatar Aug 23 '23 13:08 lhgomes