Create AWS Budget Alert with Auto-Adjusting using Terraform

0

Hello there, do you have any examples on how to create AWS Budget with Auto-Adjusting settings using Terraform?

Couldn´t find any detailed documentation that could help. Attached the expected settings.

"Cost Budget", using option "Monthly" | "Auto-adjusting" | "Last month actual"

settings

Thanks a lot

profile pictureAWS
已提问 3 个月前121 查看次数
1 回答
2
已接受的回答

There is "Auto Adjust Data" parameter that determines the budget amount for an auto-adjusting budget. https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/budgets_budget#auto-adjust-data

This function was added to the public Cloudposse Terraform Module https://github.com/cloudposse/terraform-aws-budgets/blob/main/main.tf#L133

Make sure you use a relevant version of AWS TF Provider

profile picture
专家
已回答 3 个月前
profile picture
专家
Artem
已审核 2 个月前
  • thanks a lot! that worked fine

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则