Terraform import aws key pair.MyNewKeyInTerraform YourExistingKeyName

From wikieduonline
Revision as of 12:18, 6 September 2021 by Chmod14 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Errors

Error: resource address "aws_key_par.MyNewKeyInTerraform" does not exist in the configuration.

Before importing this resource, please create its configuration in the root module. For example:

resource "aws_key_pair" "MyNewKeyInTerraform" {
  # (resource arguments)
}


See also

Advertising: