Skip to content

Latest commit

 

History

History
116 lines (88 loc) · 2.14 KB

oci_vault_secret_version.md

File metadata and controls

116 lines (88 loc) · 2.14 KB

oci_vault_secret_version

back

Index

Terraform

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

top

Example Usage

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

Variables

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

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

top

Datasource

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

Outputs

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