Open runesl opened 5 years ago
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 aws_api_gateway_api_key is based on AWS API get-api-key which only allow api key id as parameter. aws_api_gateway_api_keys could be based on get-api-keys API which could request on name.
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: