Skip to content

Latest commit

 

History

History
92 lines (68 loc) · 1.45 KB

oci_kms_vault_usage.md

File metadata and controls

92 lines (68 loc) · 1.45 KB

oci_kms_vault_usage

back

Index

Terraform

terraform {
  required_providers {
    oci = ">= 4.21.0"
  }
}

top

Example Usage

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

Variables

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

top

Datasource

data "oci_kms_vault_usage" "this" {
  # vault_id - (required) is a type of string
  vault_id = var.vault_id
}

top

Outputs

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