Open hannes-ucsc opened 1 month ago
Assignee to provide reproduction.
Assignee to amend reproduction with evidence that the two resources are identical.
Spike to check if we can use x-amazon-…
extensions to the OpenAPI spec in order to configure the settings made by this resource type, which would enable us to completely eliminate this resource.
Spike to check if we can use
x-amazon-…
extensions to the OpenAPI spec in order to configure the settings made by this resource type, which would enable us to completely eliminate this resource.
There are no API Gateway extensions related to the stage method settings covered by the TF resource aws_api_gateway_method_settings. I searched the documentation of each extension and there was no mention of "setting", "metric", "trace", or "logging".
@hannes-ucsc: "So it looks like we cannot eliminate the resource completely. Assignee to file PR that removes the redundant copy and renames the remaining resource to just service
/ indexer
."
The
aws_api_gateway_method_settings
resource is being defined using a list comprehension that doesn't use the list comprehension variables inside theaws_api_gateway_method_settings
resource, making the list comprehension unnecessary and resulting in redundantaws_api_gateway_method_settings
resources.Source code:
Generated JSON: