Skip to content

Latest commit

 

History

History
120 lines (94 loc) · 2.03 KB

fortios_firewallssh_localca.md

File metadata and controls

120 lines (94 loc) · 2.03 KB

fortios_firewallssh_localca

back

Index

Terraform

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

top

Example Usage

module "fortios_firewallssh_localca" {
  source = null

  # name - (optional) is a type of string
  name = null
  # password - (optional) is a type of string
  password = null
  # private_key - (required) is a type of string
  private_key = null
  # public_key - (required) is a type of string
  public_key = null
  # source - (optional) is a type of string
}

top

Variables

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

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

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

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

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

top

Resource

resource "fortios_firewallssh_localca" "this" {
  # name - (optional) is a type of string
  name = var.name
  # password - (optional) is a type of string
  password = var.password
  # private_key - (required) is a type of string
  private_key = var.private_key
  # public_key - (required) is a type of string
  public_key = var.public_key
  # source - (optional) is a type of string
  source = var.source
}

top

Outputs

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

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

output "source" {
  description = "returns a string"
  value       = fortios_firewallssh_localca.this.source
}

output "this" {
  value = fortios_firewallssh_localca.this
}

top