Skip to content
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]: Add name argument for data source aws_apigatewayv2_api #31298

Open
vinfang opened this issue May 9, 2023 · 1 comment
Open
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/apigatewayv2 Issues and PRs that pertain to the apigatewayv2 service.

Comments

@vinfang
Copy link

vinfang commented May 9, 2023

Description

Is it possible to add the string name argument to data source aws_apigatewayv2_api as it was done for aws_api_gateway_rest_api?

I searched through the past issues and found the original PR for when the data source, aws_apigatewayv2_api, was made #12954, and it even had name and tags as potential arguments as well as ID.

My use case is in the event we had to redeploy the API Gateway, all the routes we have defined are in separate terraform templates and it would make life easier to just have them reference the name as that won't change vs the API Gateway ID as that changes.

Was there some issue that prevented searching the API Gateway via name for aws_apigatewayv2_api?

Affected Resource(s) and/or Data Source(s)

aws_apigatewayv2_api

Potential Terraform Configuration

data "aws_apigatewayv2_api" "example" {
  name = "my_websocket_api_gateway"
}

References

#12954

Would you like to implement a fix?

None

@vinfang vinfang added enhancement Requests to existing resources that expand the functionality or scope. needs-triage Waiting for first response or review from a maintainer. labels May 9, 2023
@github-actions github-actions bot added the service/apigatewayv2 Issues and PRs that pertain to the apigatewayv2 service. label May 9, 2023
@github-actions
Copy link

github-actions bot commented May 9, 2023

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • 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.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@justinretzolk justinretzolk removed the needs-triage Waiting for first response or review from a maintainer. label May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/apigatewayv2 Issues and PRs that pertain to the apigatewayv2 service.
Projects
None yet
Development

No branches or pull requests

2 participants