back
terraform {
required_providers {
oci = ">= 4.21.0"
}
}
top
module "oci_vault_secret_version" {
source = "./modules/oci/d/oci_vault_secret_version"
# secret_id - (required) is a type of string
secret_id = null
# secret_version_number - (required) is a type of string
secret_version_number = null
}
top
variable "secret_id" {
description = "(required)"
type = string
}
variable "secret_version_number" {
description = "(required)"
type = string
}
top
data "oci_vault_secret_version" "this" {
# secret_id - (required) is a type of string
secret_id = var.secret_id
# secret_version_number - (required) is a type of string
secret_version_number = var.secret_version_number
}
top
output "content_type" {
description = "returns a string"
value = data.oci_vault_secret_version.this.content_type
}
output "id" {
description = "returns a string"
value = data.oci_vault_secret_version.this.id
}
output "name" {
description = "returns a string"
value = data.oci_vault_secret_version.this.name
}
output "stages" {
description = "returns a list of string"
value = data.oci_vault_secret_version.this.stages
}
output "time_created" {
description = "returns a string"
value = data.oci_vault_secret_version.this.time_created
}
output "time_of_current_version_expiry" {
description = "returns a string"
value = data.oci_vault_secret_version.this.time_of_current_version_expiry
}
output "time_of_deletion" {
description = "returns a string"
value = data.oci_vault_secret_version.this.time_of_deletion
}
output "version_number" {
description = "returns a string"
value = data.oci_vault_secret_version.this.version_number
}
output "this" {
value = oci_vault_secret_version.this
}
top