-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Enhancement]: additional logging_level options for aws api gw to match aws gui options #35863
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
According to the MethodSetting data type in the API reference doc, With that assumption, I looked at the backend call that the UI makes when saving the stage settings, and I can see that it's changing Based on this, we can assume that the "Full request and response logs" option is the same as setting
|
Actually the TF doc already have the answer. Refer to the Full Request and Response Logs option in the Full Request and Response Logs section of the resource doc. You also need to set |
@acwwat thank you for pointing this out. It works. I tested it with the following code:
As you can see, i was looking for a fourth |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
AWS API Gateways offer 4 logging levels in the stage settings:
Currently, the resource
api_gateway_method_settings
has options for the first 3 but not the 4th. I'm requesting that the option be added to select "Full request and response logs" in thelogging_level
argument for theapi_gateway_method_settings
resource.Affected Resource(s) and/or Data Source(s)
api_gateway_method_settings
Potential Terraform Configuration
References
Terraform resource:
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/api_gateway_method_settings
Setting in api gw:
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: