tfe_ssh_key

This resource represents an SSH key which includes a name and the SSH private key. An organization can have multiple SSH keys available.

Example Usage

Basic usage:

resource "tfe_ssh_key" "test" {
  name         = "my-ssh-key-name"
  organization = "my-org-name"
  key          = "private-ssh-key"
}

Argument Reference

The following arguments are supported:

Attributes Reference

Import

Because the Terraform Enterprise API does not return the private SSH key content, this resource cannot be imported.