Skip to content

Commit

Permalink
Add workaround for budget amount issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fornost13 authored and elliotpryde committed Jun 26, 2021
1 parent a78fc15 commit 0e08b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Terraform/budgets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resource "time_static" "budget-start" {}
resource "aws_budgets_budget" "total-cost" {
name = "budget-total"
budget_type = "COST"
limit_amount = local.aws_budget_usd
limit_amount = format("%.1f", local.aws_budget_usd) # workaround for https://github.com/terraform-providers/terraform-provider-aws/issues/10692
limit_unit = "USD"
time_unit = "MONTHLY"
time_period_start = local.aws_budget_start
Expand Down

0 comments on commit 0e08b2a

Please sign in to comment.