Skip to content

Latest commit

 

History

History
112 lines (87 loc) · 1.84 KB

aci_leaf_profile.md

File metadata and controls

112 lines (87 loc) · 1.84 KB

aci_leaf_profile

back

Index

Terraform

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

top

Example Usage

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

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

top

Variables

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

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

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

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

top

Datasource

data "aci_leaf_profile" "this" {
  # annotation - (optional) is a type of string
  annotation = var.annotation
  # description - (optional) is a type of string
  description = var.description
  # name - (required) is a type of string
  name = var.name
  # name_alias - (optional) is a type of string
  name_alias = var.name_alias
}

top

Outputs

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

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

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

output "this" {
  value = aci_leaf_profile.this
}

top