tfwriter

Terraform HCL code generator.

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

aviatrix_segmentation_security_domain_association

back

Index

Terraform

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

top

Example Usage

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

  # attachment_name - (required) is a type of string
  attachment_name = null
  # security_domain_name - (required) is a type of string
  security_domain_name = null
  # transit_gateway_name - (required) is a type of string
  transit_gateway_name = null
}

top

Variables

variable "attachment_name" {
  description = "(required) - Attachment name, either Spoke or Edge."
  type        = string
}

variable "security_domain_name" {
  description = "(required) - Security Domain name."
  type        = string
}

variable "transit_gateway_name" {
  description = "(required) - Transit Gateway name."
  type        = string
}

top

Resource

resource "aviatrix_segmentation_security_domain_association" "this" {
  # attachment_name - (required) is a type of string
  attachment_name = var.attachment_name
  # security_domain_name - (required) is a type of string
  security_domain_name = var.security_domain_name
  # transit_gateway_name - (required) is a type of string
  transit_gateway_name = var.transit_gateway_name
}

top

Outputs

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

output "this" {
  value = aviatrix_segmentation_security_domain_association.this
}

top