serverless-aws-alias
serverless-aws-alias copied to clipboard
Bug Fix - API Gateway template doesn't explicitly state defaults, so old configurations remain
trafficstars
The Cloudformation template for API Gateway staging was not including explicitly configured settings if those settings matched one of the defaults.
This was causing issues when trying to go from dataTraceEnabled: true back to dataTraceEnabled: false (the default setting). The template was not including the dataTraceEnabled: false. Therefore the API gateway stage configuration was remaining dataTraceEnabled: true.
Getting this PR out there while I have a few minutes. I will add more context later, if needed.