Skip to content

Latest commit

 

History

History
82 lines (60 loc) · 1.24 KB

oci_log_analytics_namespace.md

File metadata and controls

82 lines (60 loc) · 1.24 KB

oci_log_analytics_namespace

back

Index

Terraform

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

top

Example Usage

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

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

top

Variables

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

top

Datasource

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

top

Outputs

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

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

output "is_onboarded" {
  description = "returns a bool"
  value       = data.oci_log_analytics_namespace.this.is_onboarded
}

output "this" {
  value = oci_log_analytics_namespace.this
}

top