Skip to content

Latest commit

 

History

History
198 lines (161 loc) · 4.35 KB

fortios_firewallssh_setting.md

File metadata and controls

198 lines (161 loc) · 4.35 KB

fortios_firewallssh_setting

back

Index

Terraform

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

top

Example Usage

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

  # caname - (optional) is a type of string
  caname = null
  # host_trusted_checking - (optional) is a type of string
  host_trusted_checking = null
  # hostkey_dsa1024 - (optional) is a type of string
  hostkey_dsa1024 = null
  # hostkey_ecdsa256 - (optional) is a type of string
  hostkey_ecdsa256 = null
  # hostkey_ecdsa384 - (optional) is a type of string
  hostkey_ecdsa384 = null
  # hostkey_ecdsa521 - (optional) is a type of string
  hostkey_ecdsa521 = null
  # hostkey_ed25519 - (optional) is a type of string
  hostkey_ed25519 = null
  # hostkey_rsa2048 - (optional) is a type of string
  hostkey_rsa2048 = null
  # untrusted_caname - (optional) is a type of string
  untrusted_caname = null
}

top

Variables

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

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

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

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

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

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

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

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

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

top

Resource

resource "fortios_firewallssh_setting" "this" {
  # caname - (optional) is a type of string
  caname = var.caname
  # host_trusted_checking - (optional) is a type of string
  host_trusted_checking = var.host_trusted_checking
  # hostkey_dsa1024 - (optional) is a type of string
  hostkey_dsa1024 = var.hostkey_dsa1024
  # hostkey_ecdsa256 - (optional) is a type of string
  hostkey_ecdsa256 = var.hostkey_ecdsa256
  # hostkey_ecdsa384 - (optional) is a type of string
  hostkey_ecdsa384 = var.hostkey_ecdsa384
  # hostkey_ecdsa521 - (optional) is a type of string
  hostkey_ecdsa521 = var.hostkey_ecdsa521
  # hostkey_ed25519 - (optional) is a type of string
  hostkey_ed25519 = var.hostkey_ed25519
  # hostkey_rsa2048 - (optional) is a type of string
  hostkey_rsa2048 = var.hostkey_rsa2048
  # untrusted_caname - (optional) is a type of string
  untrusted_caname = var.untrusted_caname
}

top

Outputs

output "caname" {
  description = "returns a string"
  value       = fortios_firewallssh_setting.this.caname
}

output "host_trusted_checking" {
  description = "returns a string"
  value       = fortios_firewallssh_setting.this.host_trusted_checking
}

output "hostkey_dsa1024" {
  description = "returns a string"
  value       = fortios_firewallssh_setting.this.hostkey_dsa1024
}

output "hostkey_ecdsa256" {
  description = "returns a string"
  value       = fortios_firewallssh_setting.this.hostkey_ecdsa256
}

output "hostkey_ecdsa384" {
  description = "returns a string"
  value       = fortios_firewallssh_setting.this.hostkey_ecdsa384
}

output "hostkey_ecdsa521" {
  description = "returns a string"
  value       = fortios_firewallssh_setting.this.hostkey_ecdsa521
}

output "hostkey_ed25519" {
  description = "returns a string"
  value       = fortios_firewallssh_setting.this.hostkey_ed25519
}

output "hostkey_rsa2048" {
  description = "returns a string"
  value       = fortios_firewallssh_setting.this.hostkey_rsa2048
}

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

output "untrusted_caname" {
  description = "returns a string"
  value       = fortios_firewallssh_setting.this.untrusted_caname
}

output "this" {
  value = fortios_firewallssh_setting.this
}

top