hashicorp/vault-guides

InvalidKeyPair.NotFound: The key pair 'learn-vault-key' does not exist

webmutation opened this issue · 0 comments

While running vault-guides\operations\raft-storage\aws the script fails with

aws_instance.vault-transit: Creating...

Error: Error launching source instance: InvalidKeyPair.NotFound: The key pair 'learn-vault-key' does not exist
        status code: 400, request id: XXXXX-XXXXXXX-XXXXXXX-XXXXXXX

  on main.tf line 26, in resource "aws_instance" "vault-transit":
  26: resource "aws_instance" "vault-transit" {

Documentation should be more explicit in the requirement to create an AWS EC2 Key. Perhaps as a prerequisite step.