Skip to content

Latest commit

 

History

History
118 lines (92 loc) · 2.07 KB

aci_autonomous_system_profile.md

File metadata and controls

118 lines (92 loc) · 2.07 KB

aci_autonomous_system_profile

back

Index

Terraform

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

top

Example Usage

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

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

top

Variables

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

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

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

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

top

Datasource

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

top

Outputs

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

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

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

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

output "this" {
  value = aci_autonomous_system_profile.this
}

top