Skip to content

Latest commit

 

History

History
106 lines (82 loc) · 1.77 KB

aci_cloud_context_profile.md

File metadata and controls

106 lines (82 loc) · 1.77 KB

aci_cloud_context_profile

back

Index

Terraform

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

top

Example Usage

module "aci_cloud_context_profile" {
  source = "./modules/aci/d/aci_cloud_context_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
  # tenant_dn - (required) is a type of string
  tenant_dn = 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 "tenant_dn" {
  description = "(required)"
  type        = string
}

top

Datasource

data "aci_cloud_context_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
  # tenant_dn - (required) is a type of string
  tenant_dn = var.tenant_dn
}

top

Outputs

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

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

output "this" {
  value = aci_cloud_context_profile.this
}

top