back
terraform {
required_providers {
aci = ">= 0.5.4"
}
}
top
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
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 "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
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