terraform-provider-aws icon indicating copy to clipboard operation
terraform-provider-aws copied to clipboard

aws_api_gateway_resource should support querying by rest-api-id and id

Open TGNThump opened this issue 2 years ago • 1 comments

Community Note

  • 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

aws_api_gateway_resource should support querying by rest-api-id and resource-id as well as rest-api-id and path

New or Affected Resource(s)

  • aws_api_gateway_resource

Potential Terraform Configuration

data "aws_api_gateway_resource" "my_resource" {
  rest_api_id  = "a2gs6cue93"
  id = "3hwopd"
}

References

TGNThump avatar Sep 08 '22 10:09 TGNThump