Skip to content

Latest commit

 

History

History
95 lines (72 loc) · 1.62 KB

equinix_network_ssh_user.md

File metadata and controls

95 lines (72 loc) · 1.62 KB

equinix_network_ssh_user

back

Index

Terraform

terraform {
  required_providers {
    equinix = ">= 1.1.0-beta"
  }
}

top

Example Usage

module "equinix_network_ssh_user" {
  source = "./modules/equinix/r/equinix_network_ssh_user"

  # device_ids - (required) is a type of set of string
  device_ids = []
  # password - (required) is a type of string
  password = null
  # username - (required) is a type of string
  username = null
}

top

Variables

variable "device_ids" {
  description = "(required) - list of device identifiers to which user will have access"
  type        = set(string)
}

variable "password" {
  description = "(required) - SSH user password"
  type        = string
}

variable "username" {
  description = "(required) - SSH user login name"
  type        = string
}

top

Resource

resource "equinix_network_ssh_user" "this" {
  # device_ids - (required) is a type of set of string
  device_ids = var.device_ids
  # password - (required) is a type of string
  password = var.password
  # username - (required) is a type of string
  username = var.username
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = equinix_network_ssh_user.this.id
}

output "uuid" {
  description = "returns a string"
  value       = equinix_network_ssh_user.this.uuid
}

output "this" {
  value = equinix_network_ssh_user.this
}

top