Skip to content
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

aws_budgets_budget: ability to create a recurring budget with setting PlannedBudgetLimits #16798

Closed
run4funva opened this issue Dec 16, 2020 · 2 comments · Fixed by #27474
Closed
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/budgets Issues and PRs that pertain to the budgets service.

Comments

@run4funva
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

I was trying to setup a recurring cost budget with monthly budget planning option. Using the monthly budget planning option you can set planned budget limits for the budget period.

An improvement to the aws_budgets_budget would be to include the ability to set the PlannedBudgetLimits (map) using the AWS provider.

New or Affected Resource(s)

  • aws_budgets_budget

Potential Terraform Configuration

resource "aws_budgets_budget" "cost" {
  name         = "monthly_cost_budget"
  budget_type  = "COST"
  time_period_start = "2021-01-01_00:00"
  time_unit         = "MONTHLY"

  PlannedBudgetLimits {
    Month1 = {
      limit_amount = "2000"
      limit_unit = "USD"
    },
    Month2 = {
      limit_amount = "2005"
      limit_unit = "USD"
    },
#... shortend 
    Month12 = {
      limit_amount = "2055"
      limit_unit = "USD"
    },    
  }
}

References

@run4funva run4funva added the enhancement Requests to existing resources that expand the functionality or scope. label Dec 16, 2020
@ghost ghost added the service/budgets Issues and PRs that pertain to the budgets service. label Dec 16, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Dec 16, 2020
@DrFaust92 DrFaust92 removed the needs-triage Waiting for first response or review from a maintainer. label May 27, 2021
@ocorso
Copy link

ocorso commented Feb 18, 2022

There are 3 budget methods available in the AWS Budgets API: Fixed, Planned, Auto-Adjusting. Today, there's only support for "planned."

Here's the related request for auto-adjusting: #23268

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/budgets Issues and PRs that pertain to the budgets service.
Projects
None yet
3 participants