back
terraform {
required_providers {
fortios = ">= 1.11.0"
}
}
top
module "fortios_firewall_city" {
source = "./modules/fortios/r/fortios_firewall_city"
# fosid - (optional) is a type of number
fosid = null
# name - (optional) is a type of string
name = null
}
top
variable "fosid" {
description = "(optional)"
type = number
default = null
}
variable "name" {
description = "(optional)"
type = string
default = null
}
top
resource "fortios_firewall_city" "this" {
# fosid - (optional) is a type of number
fosid = var.fosid
# name - (optional) is a type of string
name = var.name
}
top
output "fosid" {
description = "returns a number"
value = fortios_firewall_city.this.fosid
}
output "id" {
description = "returns a string"
value = fortios_firewall_city.this.id
}
output "name" {
description = "returns a string"
value = fortios_firewall_city.this.name
}
output "this" {
value = fortios_firewall_city.this
}
top