aws_list_key_pairs
List EC2 key pairs in a given AWS region to retrieve key_name values for launching instances with aws_run_instances.
Instructions
List EC2 key pairs registered in the given region. Use the key_name values returned here as the key_name argument to aws_run_instances.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | AWS region (e.g. us-east-1). | |
| account | No | AWS account label to act in; omit for the default account. |