Skip to content

Latest commit

 

History

History
116 lines (91 loc) · 2.29 KB

aviatrix_sumologic_forwarder.md

File metadata and controls

116 lines (91 loc) · 2.29 KB

aviatrix_sumologic_forwarder

back

Index

Terraform

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

top

Example Usage

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

  # access_id - (required) is a type of string
  access_id = null
  # access_key - (required) is a type of string
  access_key = null
  # custom_configuration - (optional) is a type of string
  custom_configuration = null
  # excluded_gateways - (optional) is a type of set of string
  excluded_gateways = []
  # source_category - (optional) is a type of string
  source_category = null
}

top

Variables

variable "access_id" {
  description = "(required) - Access ID."
  type        = string
}

variable "access_key" {
  description = "(required) - Access key."
  type        = string
}

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

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

variable "source_category" {
  description = "(optional) - Source category."
  type        = string
  default     = null
}

top

Resource

resource "aviatrix_sumologic_forwarder" "this" {
  # access_id - (required) is a type of string
  access_id = var.access_id
  # access_key - (required) is a type of string
  access_key = var.access_key
  # custom_configuration - (optional) is a type of string
  custom_configuration = var.custom_configuration
  # excluded_gateways - (optional) is a type of set of string
  excluded_gateways = var.excluded_gateways
  # source_category - (optional) is a type of string
  source_category = var.source_category
}

top

Outputs

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

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

output "this" {
  value = aviatrix_sumologic_forwarder.this
}

top