Skip to content

Latest commit

 

History

History
93 lines (70 loc) · 1.38 KB

fortios_wanopt_peer.md

File metadata and controls

93 lines (70 loc) · 1.38 KB

fortios_wanopt_peer

back

Index

Terraform

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

top

Example Usage

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

  # ip - (optional) is a type of string
  ip = null
  # peer_host_id - (optional) is a type of string
  peer_host_id = null
}

top

Variables

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

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

top

Resource

resource "fortios_wanopt_peer" "this" {
  # ip - (optional) is a type of string
  ip = var.ip
  # peer_host_id - (optional) is a type of string
  peer_host_id = var.peer_host_id
}

top

Outputs

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

output "ip" {
  description = "returns a string"
  value       = fortios_wanopt_peer.this.ip
}

output "peer_host_id" {
  description = "returns a string"
  value       = fortios_wanopt_peer.this.peer_host_id
}

output "this" {
  value = fortios_wanopt_peer.this
}

top