Data Source: oci_budget_budgets

This data source provides the list of Budgets in Oracle Cloud Infrastructure Budget service.

Gets a list of budgets in a compartment.

By default, ListBudgets returns budgets of the ‘COMPARTMENT’ target type, and the budget records with only one target compartment OCID.

To list all budgets, set the targetType query parameter to ALL (for example: ‘targetType=ALL’).

Clients should ignore new targetTypes, or upgrade to the latest version of the client SDK to handle new targetTypes.

Example Usage

data "oci_budget_budgets" "test_budgets" {
	#Required
	compartment_id = var.tenancy_ocid

	#Optional
	display_name = var.budget_display_name
	state = var.budget_state
	target_type = var.budget_target_type
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Budget Reference

The following attributes are exported: