Platform: OCI (Oracle Cloud Infrastructure)
Host: MacOS Tahoe Version 26.5 (25F71)
IDE: VS Code 1.131.0 (Universal)
OCI CLI Version: 3.90.0
- I ran terraform plan -out="/path/budget/plan.tf" to see what actions will be performed (module contains budget with 2 alerts, see here)
Output:
- I ran terraform apply "path/budget/plan.tf" to deploy the budget in the selected compartment.
Output:
oci_budget_budget.dollar_budget: Creating...
oci_budget_budget.dollar_budget: Creation complete after 1s [id=ocid1.budget.oc1.ap-melbourne-1.amaaaaaahlgazfqau6jv6kiagfygucp74jcalxsy447vtosokuehbav27hga]
oci_budget_alert_rule.actual: Creating...
oci_budget_alert_rule.forecast: Creating...
oci_budget_alert_rule.actual: Creation complete after 1s [id=ocid1.alertrule.oc1.ap-melbourne-1.amaaaaaahlgazfqabzsi4suv46lukajhiis56txcazj34rgrvbzygrcqaktq]
oci_budget_alert_rule.forecast: Creation complete after 2s [id=ocid1.alertrule.oc1.ap-melbourne-1.amaaaaaahlgazfqaim2yzsfg47gbkhj2nu2ozyiq7rx3riyucem6ezycrldq]
Apply complete! Resources: 3 added, 0 changed, 0 destroyed.
- Budget is now visible in OCI Console, but running oci budgets budget budget list --compartment-id --all shows nothing.
Platform: OCI (Oracle Cloud Infrastructure)
Host: MacOS Tahoe Version 26.5 (25F71)
IDE: VS Code 1.131.0 (Universal)
OCI CLI Version: 3.90.0
Output:
Output:
oci_budget_budget.dollar_budget: Creating...
oci_budget_budget.dollar_budget: Creation complete after 1s [id=ocid1.budget.oc1.ap-melbourne-1.amaaaaaahlgazfqau6jv6kiagfygucp74jcalxsy447vtosokuehbav27hga]
oci_budget_alert_rule.actual: Creating...
oci_budget_alert_rule.forecast: Creating...
oci_budget_alert_rule.actual: Creation complete after 1s [id=ocid1.alertrule.oc1.ap-melbourne-1.amaaaaaahlgazfqabzsi4suv46lukajhiis56txcazj34rgrvbzygrcqaktq]
oci_budget_alert_rule.forecast: Creation complete after 2s [id=ocid1.alertrule.oc1.ap-melbourne-1.amaaaaaahlgazfqaim2yzsfg47gbkhj2nu2ozyiq7rx3riyucem6ezycrldq]
Apply complete! Resources: 3 added, 0 changed, 0 destroyed.