tfwriter

Terraform HCL code generator.

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

aci_cloud_domain_profile

back

Index

Terraform

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

top

Example Usage

module "aci_cloud_domain_profile" {
  source = "./modules/aci/r/aci_cloud_domain_profile"

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

top

Variables

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

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

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

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

top

Resource

resource "aci_cloud_domain_profile" "this" {
  # annotation - (optional) is a type of string
  annotation = var.annotation
  # description - (optional) is a type of string
  description = var.description
  # name_alias - (optional) is a type of string
  name_alias = var.name_alias
  # site_id - (optional) is a type of string
  site_id = var.site_id
}

top

Outputs

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

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

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

output "site_id" {
  description = "returns a string"
  value       = aci_cloud_domain_profile.this.site_id
}

output "this" {
  value = aci_cloud_domain_profile.this
}

top