back
terraform {
required_providers {
avi = ">= 0.2.3"
}
}
top
module "avi_customipamdnsprofile" {
source = "./modules/avi/d/avi_customipamdnsprofile"
# name - (optional) is a type of string
name = null
# tenant_ref - (optional) is a type of string
tenant_ref = null
# uuid - (optional) is a type of string
uuid = null
}
top
variable "name" {
description = "(optional)"
type = string
default = null
}
variable "tenant_ref" {
description = "(optional)"
type = string
default = null
}
variable "uuid" {
description = "(optional)"
type = string
default = null
}
top
data "avi_customipamdnsprofile" "this" {
# name - (optional) is a type of string
name = var.name
# tenant_ref - (optional) is a type of string
tenant_ref = var.tenant_ref
# uuid - (optional) is a type of string
uuid = var.uuid
}
top
output "id" {
description = "returns a string"
value = data.avi_customipamdnsprofile.this.id
}
output "name" {
description = "returns a string"
value = data.avi_customipamdnsprofile.this.name
}
output "script_params" {
description = "returns a list of object"
value = data.avi_customipamdnsprofile.this.script_params
}
output "script_uri" {
description = "returns a string"
value = data.avi_customipamdnsprofile.this.script_uri
}
output "tenant_ref" {
description = "returns a string"
value = data.avi_customipamdnsprofile.this.tenant_ref
}
output "uuid" {
description = "returns a string"
value = data.avi_customipamdnsprofile.this.uuid
}
output "this" {
value = avi_customipamdnsprofile.this
}
top