alicloud_ecp_key_pair

Provides a Elastic Cloud Phone (ECP) Key Pair resource.

For information about Elastic Cloud Phone (ECP) Key Pair and how to use it, see What is Key Pair.

Example Usage

Basic Usage

resource "alicloud_ecp_key_pair" "example" {
  key_pair_name   = "my-KeyPair"
  public_key_body = "ssh-rsa AAAAxxxxxxxxxxtyuudsfsg"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Elastic Cloud Phone (ECP) Key Pair can be imported using the id, e.g.

$ terraform import alicloud_ecp_key_pair.example <key_pair_name>