-
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
Add a data source for aws_key_pair #15590
Comments
I missed that too and maybe I can add this :) I will start working on that |
I created a PR: #15829 |
Hi :) |
Hi, any news about this issue? Is there anything left I can help with? Would love to get this merged! |
Hi, We would like to have this feature too. I think it's very useful. |
Hi, Any news about the review? I would like to proceed with this PR :) |
I'm gettint this error //data source aws key pair data "aws_key_pair" "test-key-pair" { //resource aws public instance resource "aws_instance" "test-pub-instance" { dipendra@salt:~$ terraform plan Error: Invalid data source on modules/ec2/main.tf line 43, in data "aws_key_pair" "test-key-pair": The provider provider.aws does not support data source "aws_key_pair". |
Are you trying to use this in a released version of the AWS provider, or did you build it yourself after patching with this Pull Request? |
Hello Team Do we have any update on this |
when we are getting this feature :) data "aws_key_pair" "terraform-key-pair" { output "keypair" { |
This is a pretty useful feature. Is there any update on this? |
Very usefull. Merge requests is pending yet |
Hi all 👋 Just letting you know that this is issue is featured on this quarters roadmap. If a PR exists to close the issue a maintainer will review and either make changes directly, or work with the original author to get the contribution merged. If you have written a PR to resolve the issue please ensure the "Allow edits from maintainers" box is checked. Thanks for your patience and we are looking forward to getting this merged soon! |
This functionality has been released in v3.65.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
Community Note
Description
Add a data source to find EC2 key pairs by name.
New or Affected Resource(s)
Potential Terraform Configuration
The text was updated successfully, but these errors were encountered: