Skip to content

Latest commit

 

History

History
136 lines (108 loc) · 2.4 KB

aci_x509_certificate.md

File metadata and controls

136 lines (108 loc) · 2.4 KB

aci_x509_certificate

back

Index

Terraform

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

top

Example Usage

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

  # annotation - (optional) is a type of string
  annotation = null
  # data - (optional) is a type of string
  data = null
  # description - (optional) is a type of string
  description = null
  # local_user_dn - (required) is a type of string
  local_user_dn = null
  # name - (required) is a type of string
  name = null
  # name_alias - (optional) is a type of string
  name_alias = null
}

top

Variables

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

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

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

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

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

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

top

Resource

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

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

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

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

output "this" {
  value = aci_x509_certificate.this
}

top