Skip to content

Latest commit

 

History

History
116 lines (88 loc) · 2.38 KB

oci_log_analytics_log_analytics_log_group.md

File metadata and controls

116 lines (88 loc) · 2.38 KB

oci_log_analytics_log_analytics_log_group

back

Index

Terraform

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

top

Example Usage

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

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

top

Variables

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

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

top

Datasource

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

top

Outputs

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

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

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

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

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

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

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

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

output "this" {
  value = oci_log_analytics_log_analytics_log_group.this
}

top