Skip to content

Latest commit

 

History

History
120 lines (94 loc) · 2.08 KB

fortios_firewallschedule_onetime.md

File metadata and controls

120 lines (94 loc) · 2.08 KB

fortios_firewallschedule_onetime

back

Index

Terraform

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

top

Example Usage

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

  # color - (optional) is a type of number
  color = null
  # end - (required) is a type of string
  end = null
  # expiration_days - (optional) is a type of number
  expiration_days = null
  # name - (required) is a type of string
  name = null
  # start - (required) is a type of string
  start = null
}

top

Variables

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

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

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

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

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

top

Resource

resource "fortios_firewallschedule_onetime" "this" {
  # color - (optional) is a type of number
  color = var.color
  # end - (required) is a type of string
  end = var.end
  # expiration_days - (optional) is a type of number
  expiration_days = var.expiration_days
  # name - (required) is a type of string
  name = var.name
  # start - (required) is a type of string
  start = var.start
}

top

Outputs

output "color" {
  description = "returns a number"
  value       = fortios_firewallschedule_onetime.this.color
}

output "expiration_days" {
  description = "returns a number"
  value       = fortios_firewallschedule_onetime.this.expiration_days
}

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

output "this" {
  value = fortios_firewallschedule_onetime.this
}

top