tfwriter

Terraform HCL code generator.

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

aviatrix_device_virtual_wan_attachment

back

Index

Terraform

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

top

Example Usage

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

  # account_name - (required) is a type of string
  account_name = null
  # connection_name - (required) is a type of string
  connection_name = null
  # device_bgp_asn - (required) is a type of number
  device_bgp_asn = null
  # device_name - (required) is a type of string
  device_name = null
  # hub_name - (required) is a type of string
  hub_name = null
  # resource_group - (required) is a type of string
  resource_group = null
}

top

Variables

variable "account_name" {
  description = "(required) - Azure access account name."
  type        = string
}

variable "connection_name" {
  description = "(required) - Connection name."
  type        = string
}

variable "device_bgp_asn" {
  description = "(required) - Device AS Number."
  type        = number
}

variable "device_name" {
  description = "(required) - Device name."
  type        = string
}

variable "hub_name" {
  description = "(required) - Virtual WAN vhub name."
  type        = string
}

variable "resource_group" {
  description = "(required) - ARM resource group name."
  type        = string
}

top

Resource

resource "aviatrix_device_virtual_wan_attachment" "this" {
  # account_name - (required) is a type of string
  account_name = var.account_name
  # connection_name - (required) is a type of string
  connection_name = var.connection_name
  # device_bgp_asn - (required) is a type of number
  device_bgp_asn = var.device_bgp_asn
  # device_name - (required) is a type of string
  device_name = var.device_name
  # hub_name - (required) is a type of string
  hub_name = var.hub_name
  # resource_group - (required) is a type of string
  resource_group = var.resource_group
}

top

Outputs

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

output "this" {
  value = aviatrix_device_virtual_wan_attachment.this
}

top