Skip to content

Latest commit

 

History

History
120 lines (94 loc) · 2.06 KB

fortios_firewall_iptranslation.md

File metadata and controls

120 lines (94 loc) · 2.06 KB

fortios_firewall_iptranslation

back

Index

Terraform

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

top

Example Usage

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

  # endip - (required) is a type of string
  endip = null
  # map_startip - (required) is a type of string
  map_startip = null
  # startip - (required) is a type of string
  startip = null
  # transid - (optional) is a type of number
  transid = null
  # type - (optional) is a type of string
  type = null
}

top

Variables

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

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

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

variable "transid" {
  description = "(optional)"
  type        = number
  default     = null
}

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

top

Resource

resource "fortios_firewall_iptranslation" "this" {
  # endip - (required) is a type of string
  endip = var.endip
  # map_startip - (required) is a type of string
  map_startip = var.map_startip
  # startip - (required) is a type of string
  startip = var.startip
  # transid - (optional) is a type of number
  transid = var.transid
  # type - (optional) is a type of string
  type = var.type
}

top

Outputs

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

output "transid" {
  description = "returns a number"
  value       = fortios_firewall_iptranslation.this.transid
}

output "type" {
  description = "returns a string"
  value       = fortios_firewall_iptranslation.this.type
}

output "this" {
  value = fortios_firewall_iptranslation.this
}

top