Skip to content

Latest commit

 

History

History
136 lines (108 loc) · 2.57 KB

aci_cloud_providers_region.md

File metadata and controls

136 lines (108 loc) · 2.57 KB

aci_cloud_providers_region

back

Index

Terraform

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

top

Example Usage

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

  # admin_st - (optional) is a type of string
  admin_st = null
  # annotation - (optional) is a type of string
  annotation = null
  # cloud_provider_profile_dn - (required) is a type of string
  cloud_provider_profile_dn = 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 "admin_st" {
  description = "(optional)"
  type        = string
  default     = null
}

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

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

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_cloud_providers_region" "this" {
  # admin_st - (optional) is a type of string
  admin_st = var.admin_st
  # annotation - (optional) is a type of string
  annotation = var.annotation
  # cloud_provider_profile_dn - (required) is a type of string
  cloud_provider_profile_dn = var.cloud_provider_profile_dn
  # 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 "admin_st" {
  description = "returns a string"
  value       = data.aci_cloud_providers_region.this.admin_st
}

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

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

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

output "this" {
  value = aci_cloud_providers_region.this
}

top