tfwriter

Terraform HCL code generator.

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

aviatrix_fqdn_pass_through

back

Index

Terraform

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

top

Example Usage

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

  # gw_name - (required) is a type of string
  gw_name = null
  # pass_through_cidrs - (required) is a type of set of string
  pass_through_cidrs = []
}

top

Variables

variable "gw_name" {
  description = "(required) - Gateway to apply FQDN pass-through rules to."
  type        = string
}

variable "pass_through_cidrs" {
  description = "(required) - CIDRs to allow originating requests to ignore FQDN filtering rules."
  type        = set(string)
}

top

Resource

resource "aviatrix_fqdn_pass_through" "this" {
  # gw_name - (required) is a type of string
  gw_name = var.gw_name
  # pass_through_cidrs - (required) is a type of set of string
  pass_through_cidrs = var.pass_through_cidrs
}

top

Outputs

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

output "this" {
  value = aviatrix_fqdn_pass_through.this
}

top