aws-cloudformation / aws-cloudformation-resource-providers-awsutilities-commandrunner

Apache License 2.0
81 stars 21 forks source link

CommandRunner fails silenty to run `lambda invoke` #66

Open chuxau opened 5 months ago

chuxau commented 5 months ago

I am simply running the command:

!Sub "sleep 10; aws lambda invoke --function-name ${functionName} --region ${AWS::Region} ; echo FINISHED > /command-output.txt"

But although a run status of success is exported in the default command runner logs, the command fails to invoke the lambda function .. with no errors.

Things I have tried

So, it just seems as if CommandRunner is broken and unable to run any aws commands, although the additional stack it auto-provisions is always built. Both the SubnetId & SecurityId are good and in use in other stacks

Please, is this utility still supposed to work or am I missing anything ?