From 0e08b2a2ead6d528453e5a4c03d7bbd1ccd633ed Mon Sep 17 00:00:00 2001 From: Elliot Pryde Date: Sat, 1 Aug 2020 22:48:30 +0100 Subject: [PATCH] Add workaround for budget amount issue https://github.com/terraform-providers/terraform-provider-aws/issues/10692 --- Terraform/budgets.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Terraform/budgets.tf b/Terraform/budgets.tf index c9dcc60..32c82fe 100644 --- a/Terraform/budgets.tf +++ b/Terraform/budgets.tf @@ -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