Skip to content

Latest commit

 

History

History
108 lines (83 loc) · 2.13 KB

fortios_switchcontrollersecuritypolicy_localaccess.md

File metadata and controls

108 lines (83 loc) · 2.13 KB

fortios_switchcontrollersecuritypolicy_localaccess

back

Index

Terraform

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

top

Example Usage

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

  # internal_allowaccess - (optional) is a type of string
  internal_allowaccess = null
  # mgmt_allowaccess - (optional) is a type of string
  mgmt_allowaccess = null
  # name - (optional) is a type of string
  name = null
}

top

Variables

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

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

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

top

Resource

resource "fortios_switchcontrollersecuritypolicy_localaccess" "this" {
  # internal_allowaccess - (optional) is a type of string
  internal_allowaccess = var.internal_allowaccess
  # mgmt_allowaccess - (optional) is a type of string
  mgmt_allowaccess = var.mgmt_allowaccess
  # name - (optional) is a type of string
  name = var.name
}

top

Outputs

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

output "internal_allowaccess" {
  description = "returns a string"
  value       = fortios_switchcontrollersecuritypolicy_localaccess.this.internal_allowaccess
}

output "mgmt_allowaccess" {
  description = "returns a string"
  value       = fortios_switchcontrollersecuritypolicy_localaccess.this.mgmt_allowaccess
}

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

output "this" {
  value = fortios_switchcontrollersecuritypolicy_localaccess.this
}

top