Skip to content

Latest commit

 

History

History
105 lines (81 loc) · 1.71 KB

fortios_system_ipiptunnel.md

File metadata and controls

105 lines (81 loc) · 1.71 KB

fortios_system_ipiptunnel

back

Index

Terraform

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

top

Example Usage

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

  # interface - (required) is a type of string
  interface = null
  # local_gw - (required) is a type of string
  local_gw = null
  # name - (optional) is a type of string
  name = null
  # remote_gw - (required) is a type of string
  remote_gw = null
}

top

Variables

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

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

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

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

top

Resource

resource "fortios_system_ipiptunnel" "this" {
  # interface - (required) is a type of string
  interface = var.interface
  # local_gw - (required) is a type of string
  local_gw = var.local_gw
  # name - (optional) is a type of string
  name = var.name
  # remote_gw - (required) is a type of string
  remote_gw = var.remote_gw
}

top

Outputs

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

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

output "this" {
  value = fortios_system_ipiptunnel.this
}

top