Skip to content

Latest commit

 

History

History
92 lines (70 loc) · 1.39 KB

File metadata and controls

92 lines (70 loc) · 1.39 KB

fortios_user_devicecategory

back

Index

Terraform

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

top

Example Usage

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

  # comment - (optional) is a type of string
  comment = null
  # desc - (optional) is a type of string
  desc = null
  # name - (required) is a type of string
  name = null
}

top

Variables

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

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

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

top

Resource

resource "fortios_user_devicecategory" "this" {
  # comment - (optional) is a type of string
  comment = var.comment
  # desc - (optional) is a type of string
  desc = var.desc
  # name - (required) is a type of string
  name = var.name
}

top

Outputs

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

output "this" {
  value = fortios_user_devicecategory.this
}

top