Skip to content

Latest commit

 

History

History
87 lines (65 loc) · 1.42 KB

File metadata and controls

87 lines (65 loc) · 1.42 KB

fortios_switchcontroller_sflow

back

Index

Terraform

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

top

Example Usage

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

  # collector_ip - (required) is a type of string
  collector_ip = null
  # collector_port - (optional) is a type of number
  collector_port = null
}

top

Variables

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

variable "collector_port" {
  description = "(optional)"
  type        = number
  default     = null
}

top

Resource

resource "fortios_switchcontroller_sflow" "this" {
  # collector_ip - (required) is a type of string
  collector_ip = var.collector_ip
  # collector_port - (optional) is a type of number
  collector_port = var.collector_port
}

top

Outputs

output "collector_port" {
  description = "returns a number"
  value       = fortios_switchcontroller_sflow.this.collector_port
}

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

output "this" {
  value = fortios_switchcontroller_sflow.this
}

top