opc_compute_ssh_key
The opc_compute_ssh_key
resource creates and manages an SSH key in an Oracle Cloud Infrastructure Compute Classic identity domain.
Example Usage
resource "opc_compute_ssh_key" "test" { name = "test-key" key = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCqw6JwbjIk..." enabled = true }
Argument Reference
The following arguments are supported:
-
name
- (Required) The unique (within this identity domain) name of the SSH key. -
key
- (Required) The SSH key itself -
enabled
- (Optional) Whether or not the key is enabled. This is useful if you want to temporarily disable an SSH key, without removing it entirely from your Terraform resource definition. Defaults totrue
Import
SSH Key's can be imported using the resource name
, e.g.
$ terraform import opc_compute_ssh_key.key1 example
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/opc/r/opc_compute_ssh_key.html