Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
It seems to me that there should be a data source for api gateway methods.
New or Affected Resource(s)
aws_api_gateway_method
Potential Terraform Configuration
data "aws_api_gateway_resource" "this" {
rest_api_id = "2defgu0hck"
path = "/path/to/resource"
}
# fetches the api method
data "aws_api_gateway_method" "this" {
rest_api_id = "2defgu0hck"
resource_id = data.aws_api_gateway_resource.this.id
http_method = "GET"
}
Community Note
Description
It seems to me that there should be a data source for api gateway methods.
New or Affected Resource(s)
Potential Terraform Configuration
References
0000