-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Data source aws_api_gateway_api_key lookup on name (not id) #8033
Comments
Looks like cannot be implemented since you can have same name on different keys |
A lot of Terraform data sources work like I propose. They fail only when multiple instances matching the criteria are actually found. Looking up EBS volumes by tag for instance. |
+1 for this! looking up by id is not very useful. |
+1, are there any new updates about that feature request? |
+1, this is a nice feature but I think it would need to create a new data source : aws_api_gateway_api_keys Anyway this is a must have feature. |
Many AWS resources can have identical names and differing IDs/ARNs; why is this one special? This is a must have feature, still, going into 2024... |
Community Note
Description
It should be possible to lookup aws_api_gateway_api_key by name.
For example:
Currently only id is supported, so this happens:
The text was updated successfully, but these errors were encountered: