aws / aws/aws-toolkit-azure-devops
Invoke Lambda Function - Synchronous execution failure is not failing vsts release step
- Dominant language
- TypeScript
- Stars
- 258
- Forks
- 114
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Given #137 and #147 causing a lambda execution failure (via cloudwatch logs only), VSTS release step is reporting successful completion of the lambda invocation.
**To reproduce**
1. Given a lambda to invoke, build release pipeline, etc.
2. Define a release step (any agent, linux, vs2017 etc)
3. Add step : AWS Invoke Lambda Function
4. Provide required info and select Synchronous under Invocation Type
5. Deploy release
**Expected behavior**
Invoke Lambda release step should fail if the lambda execution fails.
**Screenshots**
Configuration:

Cloudwatch logs showing lambda invoke failed (AWS level failure, not in my code)

ADO release step showing green/success invocation

**Your Environment**
- Azure Devops Cloud Based (dev.azure.com)
- AWS Invoke Lambda v 1.1.8 (latest from UI and seen in logs screenshot ^)
Contributor guide
Assessment
This issue has not been assessed yet.