Skip to content

Latest commit

 

History

History
147 lines (117 loc) · 2.46 KB

fortios_vpn_pptp.md

File metadata and controls

147 lines (117 loc) · 2.46 KB

fortios_vpn_pptp

back

Index

Terraform

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

top

Example Usage

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

  # eip - (optional) is a type of string
  eip = null
  # ip_mode - (optional) is a type of string
  ip_mode = null
  # local_ip - (optional) is a type of string
  local_ip = null
  # sip - (optional) is a type of string
  sip = null
  # status - (required) is a type of string
  status = null
  # usrgrp - (optional) is a type of string
  usrgrp = null
}

top

Variables

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

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

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

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

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

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

top

Resource

resource "fortios_vpn_pptp" "this" {
  # eip - (optional) is a type of string
  eip = var.eip
  # ip_mode - (optional) is a type of string
  ip_mode = var.ip_mode
  # local_ip - (optional) is a type of string
  local_ip = var.local_ip
  # sip - (optional) is a type of string
  sip = var.sip
  # status - (required) is a type of string
  status = var.status
  # usrgrp - (optional) is a type of string
  usrgrp = var.usrgrp
}

top

Outputs

output "eip" {
  description = "returns a string"
  value       = fortios_vpn_pptp.this.eip
}

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

output "ip_mode" {
  description = "returns a string"
  value       = fortios_vpn_pptp.this.ip_mode
}

output "local_ip" {
  description = "returns a string"
  value       = fortios_vpn_pptp.this.local_ip
}

output "sip" {
  description = "returns a string"
  value       = fortios_vpn_pptp.this.sip
}

output "usrgrp" {
  description = "returns a string"
  value       = fortios_vpn_pptp.this.usrgrp
}

output "this" {
  value = fortios_vpn_pptp.this
}

top