Skip to content

Latest commit

 

History

History
110 lines (86 loc) · 1.86 KB

fortios_fmg_devicemanager_device.md

File metadata and controls

110 lines (86 loc) · 1.86 KB

fortios_fmg_devicemanager_device

back

Index

Terraform

terraform {
  required_providers {
    fortios = ">= 1.11.0"
  }
}

top

Example Usage

module "fortios_fmg_devicemanager_device" {
  source = "./modules/fortios/r/fortios_fmg_devicemanager_device"

  # adom - (optional) is a type of string
  adom = null
  # device_name - (required) is a type of string
  device_name = null
  # ipaddr - (required) is a type of string
  ipaddr = null
  # password - (optional) is a type of string
  password = null
  # userid - (required) is a type of string
  userid = null
}

top

Variables

variable "adom" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "device_name" {
  description = "(required)"
  type        = string
}

variable "ipaddr" {
  description = "(required)"
  type        = string
}

variable "password" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "userid" {
  description = "(required)"
  type        = string
}

top

Resource

resource "fortios_fmg_devicemanager_device" "this" {
  # adom - (optional) is a type of string
  adom = var.adom
  # device_name - (required) is a type of string
  device_name = var.device_name
  # ipaddr - (required) is a type of string
  ipaddr = var.ipaddr
  # password - (optional) is a type of string
  password = var.password
  # userid - (required) is a type of string
  userid = var.userid
}

top

Outputs

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

output "this" {
  value = fortios_fmg_devicemanager_device.this
}

top