Advertisement
Guest User

Untitled

a guest
Jul 15th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. resource "aws_budgets_budget" "cloudwatch" {
  2. provider = "aws.billing"
  3. name = "budget-cloudwatch-monthly"
  4. budget_type = "COST"
  5. limit_amount = "1000"
  6. limit_unit = "USD"
  7. time_period_end = "2087-06-15_00:00"
  8. time_period_start = "2017-07-01_00:00"
  9. time_unit = "MONTHLY"
  10.  
  11. cost_filters = {
  12. Service = "AmazonCloudWatch"
  13. }
  14.  
  15. notification {
  16. comparison_operator = "GREATER_THAN"
  17. threshold = 100
  18. threshold_type = "PERCENTAGE"
  19. notification_type = "FORECASTED"
  20.  
  21. subscriber_sns_topic_arns = [
  22. "${aws_sns_topic.budget_alerts.arn}",
  23. ]
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement