back
terraform {
required_providers {
equinix = ">= 1.1.0-beta"
}
}
top
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
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 "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
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