Skip to content

Latest commit

 

History

History
82 lines (60 loc) · 1.27 KB

oci_metering_computation_query.md

File metadata and controls

82 lines (60 loc) · 1.27 KB

oci_metering_computation_query

back

Index

Terraform

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

top

Example Usage

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

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

top

Variables

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

top

Datasource

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

top

Outputs

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

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

output "query_definition" {
  description = "returns a list of object"
  value       = data.oci_metering_computation_query.this.query_definition
}

output "this" {
  value = oci_metering_computation_query.this
}

top