-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AWS::ApiGatewayV2::CfnStage] logging level ERROR not working #1712
Comments
Hi, In short, setting It's only if
The 2 parameters creates the impression that there are 6 different possible combination, but in there are really only 4, with some duplication ( This logic can be validated by trying all possible combination:
|
Name of the resource
AWS::ApiGatewayV2::Stage
Resource Name
No response
Issue Description
Describe the bug
Setting AWS::ApiGatewayV2::CfnStage.loggingLevel is not deploying correct value.
Possible Solution
When setting logging level to "ERROR", set physical resource to "Errors Only" mode.
Expected Behavior
When setting logging level to
ERROR
, the resulting setting in the physical resource should be set to "Errors Only"Observed Behavior
Setting logging level to
ERROR
, results in the physical resource being set to "Full Request and Response Logs".Test Cases
Reproduction Steps
Just set loggingLevel to
FALSE
and check the actual value, it's set to"Full Request and Response Logs"
.LoggingLevel parameter VS physical resource
OFF: "OFF"
INFO: "Full Request and Response Logs"
ERROR: "Full Request and Response Logs" (WRONG!)
Other Details
No response
The text was updated successfully, but these errors were encountered: