back
terraform {
required_providers {
oci = ">= 4.21.0"
}
}
top
module "oci_kms_vault_usage" {
source = "./modules/oci/d/oci_kms_vault_usage"
# vault_id - (required) is a type of string
vault_id = null
}
top
variable "vault_id" {
description = "(required)"
type = string
}
top
data "oci_kms_vault_usage" "this" {
# vault_id - (required) is a type of string
vault_id = var.vault_id
}
top
output "id" {
description = "returns a string"
value = data.oci_kms_vault_usage.this.id
}
output "key_count" {
description = "returns a number"
value = data.oci_kms_vault_usage.this.key_count
}
output "key_version_count" {
description = "returns a number"
value = data.oci_kms_vault_usage.this.key_version_count
}
output "software_key_count" {
description = "returns a number"
value = data.oci_kms_vault_usage.this.software_key_count
}
output "software_key_version_count" {
description = "returns a number"
value = data.oci_kms_vault_usage.this.software_key_version_count
}
output "this" {
value = oci_kms_vault_usage.this
}
top