back
terraform {
required_providers {
nsxt = ">= 3.1.1"
}
}
top
module "nsxt_certificate" {
source = "./modules/nsxt/d/nsxt_certificate"
# description - (optional) is a type of string
description = null
# display_name - (optional) is a type of string
display_name = null
}
top
variable "description" {
description = "(optional) - Description of this resource"
type = string
default = null
}
variable "display_name" {
description = "(optional) - The display name of this resource"
type = string
default = null
}
top
data "nsxt_certificate" "this" {
# description - (optional) is a type of string
description = var.description
# display_name - (optional) is a type of string
display_name = var.display_name
}
top
output "description" {
description = "returns a string"
value = data.nsxt_certificate.this.description
}
output "display_name" {
description = "returns a string"
value = data.nsxt_certificate.this.display_name
}
output "id" {
description = "returns a string"
value = data.nsxt_certificate.this.id
}
output "this" {
value = nsxt_certificate.this
}
top