Skip to content

[datadog_cost_budget] add support for cost budgets #3001

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

klara-kr
Copy link
Contributor

@klara-kr klara-kr commented May 5, 2025

Adding new terraform resources & data_sources to support Cost Budgets.

testing

Created/ Updated budgets

resource "datadog_cost_budget" "terraform_budget" {
  name = "terraform budget klara 3"
  id   = "1b4c94fa-730d-4d02-9b8d-01fc02f88d70"
  metrics_query = "sum:aws.cost.amortized{account:prod} by {account}"
  start_month = 202505
  end_month = 202507

  entries {
    amount = 1000
    month  = 202505

    tag_filters {
      tag_key   = "account"
      tag_value = "prod"
    }

  }

  entries {
    amount = 1200
    month  = 202506

    tag_filters {
      tag_key   = "account"
      tag_value = "prod"
    }
  }

 entries {
    amount = 1202
    month  = 202507

    tag_filters {
      tag_key   = "account"
      tag_value = "prod"
    }
  }

}

@klara-kr klara-kr force-pushed the klara/budget-terraform branch from ce9a79e to fb88ead Compare May 12, 2025 12:43
@datadog-datadog-prod-us1
Copy link
Contributor

Datadog Summary

✅ Code Quality    ✅ Code Security    ✅ Dependencies


Was this helpful? Give us feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant