Closed noce2 closed 3 years ago
Good catch. The fix for this should be in a future release. For now, a workaround could be to manually deploy the lambda package using the cli and edit the template.
Thanks for replying @ramaniad . Any indication when we might expect a fix?
Fix released in v5.15.3. Please let me know if there is any issues. Thanks for reporting the bug!
What happens
When the application,
arn:aws:serverlessrepo:us-west-2:821825267871:applications/AmazonConnectSalesforceLambda
is deployed withPostcallRecordingImportEnabled
set to false, the deployment fails with:What I expect
The deployment should succeed.
Failure Reason
The role
sfSig4RequestToS3Role
is not created when the parameterPostcallRecordingImportEnabled
is set to false. However, the Arn of the role is unconditionally referenced here:https://github.com/amazon-connect/amazon-connect-salesforce-lambda/blob/e9279e5de237d6b178b224a73cc475526ec925e4/sam-app/lambda_functions/template.yaml#L1042
Further Info:
Full Param List