Skip to content

Latest commit

 

History

History
93 lines (70 loc) · 1.5 KB

nsxt_certificate.md

File metadata and controls

93 lines (70 loc) · 1.5 KB

nsxt_certificate

back

Index

Terraform

terraform {
  required_providers {
    nsxt = ">= 3.1.1"
  }
}

top

Example Usage

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

Variables

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

Datasource

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

Outputs

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