tfwriter

Terraform HCL code generator.

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

aci_logical_node_profile

back

Index

Terraform

terraform {
  required_providers {
    aci = ">= 0.5.4"
  }
}

top

Example Usage

module "aci_logical_node_profile" {
  source = "./modules/aci/d/aci_logical_node_profile"

  # annotation - (optional) is a type of string
  annotation = null
  # config_issues - (optional) is a type of string
  config_issues = null
  # description - (optional) is a type of string
  description = null
  # l3_outside_dn - (required) is a type of string
  l3_outside_dn = null
  # name - (required) is a type of string
  name = null
  # name_alias - (optional) is a type of string
  name_alias = null
  # tag - (optional) is a type of string
  tag = null
  # target_dscp - (optional) is a type of string
  target_dscp = null
}

top

Variables

variable "annotation" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "config_issues" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "description" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "l3_outside_dn" {
  description = "(required)"
  type        = string
}

variable "name" {
  description = "(required)"
  type        = string
}

variable "name_alias" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "tag" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "target_dscp" {
  description = "(optional)"
  type        = string
  default     = null
}

top

Datasource

data "aci_logical_node_profile" "this" {
  # annotation - (optional) is a type of string
  annotation = var.annotation
  # config_issues - (optional) is a type of string
  config_issues = var.config_issues
  # description - (optional) is a type of string
  description = var.description
  # l3_outside_dn - (required) is a type of string
  l3_outside_dn = var.l3_outside_dn
  # name - (required) is a type of string
  name = var.name
  # name_alias - (optional) is a type of string
  name_alias = var.name_alias
  # tag - (optional) is a type of string
  tag = var.tag
  # target_dscp - (optional) is a type of string
  target_dscp = var.target_dscp
}

top

Outputs

output "config_issues" {
  description = "returns a string"
  value       = data.aci_logical_node_profile.this.config_issues
}

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

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

output "name_alias" {
  description = "returns a string"
  value       = data.aci_logical_node_profile.this.name_alias
}

output "tag" {
  description = "returns a string"
  value       = data.aci_logical_node_profile.this.tag
}

output "target_dscp" {
  description = "returns a string"
  value       = data.aci_logical_node_profile.this.target_dscp
}

output "this" {
  value = aci_logical_node_profile.this
}

top