Skip to main content

SSH Key

Provides an e2e ssh key resource. This resource allows you to manage ssh key on your e2e clusters. When applied, a new ssh key is created. When destroyed, this ssh key is removed.

Example Usage

 resource "e2e_ssh_key" "ssh_key_1" {
label = <name of ssh key : String>
ssh_key = <your public key : String>
project_id = <project_id:string>
location="Delhi"
}

Schema

Required Attributes

  • label (String) specify The label(name) of the ssh key
  • ssh_key (String) specify the ssh key.
  • project_id (String) specify the project id in which the reserve ip is to be created. To find the project id, please refer to our API Documentation
  • location (String) specify the location of the ssh key

Read-Only

  • timestamp (String) Timestamp of the SSH Key