tfwriter

Terraform HCL code generator.

Download as .zip Download as .tar.gz View on GitHub

aviatrix_splunk_logging

back

Index

Terraform

terraform {
  required_providers {
    aviatrix = ">= 2.18.2"
  }
}

top

Example Usage

module "aviatrix_splunk_logging" {
  source = "./modules/aviatrix/r/aviatrix_splunk_logging"

  # custom_input_config - (optional) is a type of string
  custom_input_config = null
  # custom_output_config_file - (optional) is a type of string
  custom_output_config_file = null
  # excluded_gateways - (optional) is a type of set of string
  excluded_gateways = []
  # port - (optional) is a type of number
  port = null
  # server - (optional) is a type of string
  server = null
}

top

Variables

variable "custom_input_config" {
  description = "(optional) - Custom configuration."
  type        = string
  default     = null
}

variable "custom_output_config_file" {
  description = "(optional) - Configuration file. Use the filebase64 function to read from a file."
  type        = string
  default     = null
}

variable "excluded_gateways" {
  description = "(optional) - List of excluded gateways."
  type        = set(string)
  default     = null
}

variable "port" {
  description = "(optional) - Port number."
  type        = number
  default     = null
}

variable "server" {
  description = "(optional) - Server IP."
  type        = string
  default     = null
}

top

Resource

resource "aviatrix_splunk_logging" "this" {
  # custom_input_config - (optional) is a type of string
  custom_input_config = var.custom_input_config
  # custom_output_config_file - (optional) is a type of string
  custom_output_config_file = var.custom_output_config_file
  # excluded_gateways - (optional) is a type of set of string
  excluded_gateways = var.excluded_gateways
  # port - (optional) is a type of number
  port = var.port
  # server - (optional) is a type of string
  server = var.server
}

top

Outputs

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

output "status" {
  description = "returns a string"
  value       = aviatrix_splunk_logging.this.status
}

output "this" {
  value = aviatrix_splunk_logging.this
}

top