Skip to content

Latest commit

 

History

History
108 lines (83 loc) · 1.98 KB

fortios_switchcontrollersecuritypolicy_captiveportal.md

File metadata and controls

108 lines (83 loc) · 1.98 KB

fortios_switchcontrollersecuritypolicy_captiveportal

back

Index

Terraform

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

top

Example Usage

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

  # name - (optional) is a type of string
  name = null
  # policy_type - (optional) is a type of string
  policy_type = null
  # vlan - (optional) is a type of string
  vlan = null
}

top

Variables

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

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

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

top

Resource

resource "fortios_switchcontrollersecuritypolicy_captiveportal" "this" {
  # name - (optional) is a type of string
  name = var.name
  # policy_type - (optional) is a type of string
  policy_type = var.policy_type
  # vlan - (optional) is a type of string
  vlan = var.vlan
}

top

Outputs

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

output "name" {
  description = "returns a string"
  value       = fortios_switchcontrollersecuritypolicy_captiveportal.this.name
}

output "policy_type" {
  description = "returns a string"
  value       = fortios_switchcontrollersecuritypolicy_captiveportal.this.policy_type
}

output "vlan" {
  description = "returns a string"
  value       = fortios_switchcontrollersecuritypolicy_captiveportal.this.vlan
}

output "this" {
  value = fortios_switchcontrollersecuritypolicy_captiveportal.this
}

top