aws-cloudformation-templates
aws-cloudformation-templates copied to clipboard
cfnresponse.py helper does not accept "Reason" parameter
The send
function signature:
https://github.com/awslabs/aws-cloudformation-templates/blob/2415d1dd34bdbf50e3b009879f6ba754a043afdf/aws/services/CloudFormation/MacrosExamples/StackMetrics/lambda/cfnresponse.py#L10
Does not allow its caller to pass a Reason
, which according to AWS' documentation is required if the status is FAIL
. Instead, it always returns a very generic and less useful message.
Is there any reason for this?
This could be really helpful improvement, i dont understand why its not there yet..