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.
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 todataTraceEnabled: false
(the default setting). The template was not including thedataTraceEnabled: false
. Therefore the API gateway stage configuration was remainingdataTraceEnabled: true
.Getting this PR out there while I have a few minutes. I will add more context later, if needed.