tfwriter

Terraform HCL code generator.

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

aviatrix_firewall

back

Index

Terraform

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

top

Example Usage

module "aviatrix_firewall" {
  source = "./modules/aviatrix/d/aviatrix_firewall"

  # gw_name - (required) is a type of string
  gw_name = null
}

top

Variables

variable "gw_name" {
  description = "(required) - Name of the gateway the firewall is associated with."
  type        = string
}

top

Datasource

data "aviatrix_firewall" "this" {
  # gw_name - (required) is a type of string
  gw_name = var.gw_name
}

top

Outputs

output "base_log_enabled" {
  description = "returns a bool"
  value       = data.aviatrix_firewall.this.base_log_enabled
}

output "base_policy" {
  description = "returns a string"
  value       = data.aviatrix_firewall.this.base_policy
}

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

output "policies" {
  description = "returns a list of object"
  value       = data.aviatrix_firewall.this.policies
}

output "this" {
  value = aviatrix_firewall.this
}

top