Skip to content

Latest commit

 

History

History
102 lines (76 loc) · 1.72 KB

oci_identity_tenancy.md

File metadata and controls

102 lines (76 loc) · 1.72 KB

oci_identity_tenancy

back

Index

Terraform

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

top

Example Usage

module "oci_identity_tenancy" {
  source = "./modules/oci/d/oci_identity_tenancy"

  # tenancy_id - (required) is a type of string
  tenancy_id = null
}

top

Variables

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

top

Datasource

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

top

Outputs

output "defined_tags" {
  description = "returns a map of string"
  value       = data.oci_identity_tenancy.this.defined_tags
}

output "description" {
  description = "returns a string"
  value       = data.oci_identity_tenancy.this.description
}

output "freeform_tags" {
  description = "returns a map of string"
  value       = data.oci_identity_tenancy.this.freeform_tags
}

output "home_region_key" {
  description = "returns a string"
  value       = data.oci_identity_tenancy.this.home_region_key
}

output "id" {
  description = "returns a string"
  value       = data.oci_identity_tenancy.this.id
}

output "name" {
  description = "returns a string"
  value       = data.oci_identity_tenancy.this.name
}

output "upi_idcs_compatibility_layer_endpoint" {
  description = "returns a string"
  value       = data.oci_identity_tenancy.this.upi_idcs_compatibility_layer_endpoint
}

output "this" {
  value = oci_identity_tenancy.this
}

top