Skip to content

Latest commit

 

History

History
106 lines (82 loc) · 1.69 KB

fortios_firewall_ippool6.md

File metadata and controls

106 lines (82 loc) · 1.69 KB

fortios_firewall_ippool6

back

Index

Terraform

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

top

Example Usage

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

  # comments - (optional) is a type of string
  comments = null
  # endip - (required) is a type of string
  endip = null
  # name - (optional) is a type of string
  name = null
  # startip - (required) is a type of string
  startip = null
}

top

Variables

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

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

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

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

top

Resource

resource "fortios_firewall_ippool6" "this" {
  # comments - (optional) is a type of string
  comments = var.comments
  # endip - (required) is a type of string
  endip = var.endip
  # name - (optional) is a type of string
  name = var.name
  # startip - (required) is a type of string
  startip = var.startip
}

top

Outputs

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

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

output "this" {
  value = fortios_firewall_ippool6.this
}

top