From 4619ee245c65077a86d931c2f9d5663475720c74 Mon Sep 17 00:00:00 2001 From: Anton Babenko Date: Fri, 27 May 2022 11:00:37 +0200 Subject: [PATCH] docs: Updated docs for infracost_breakdown to match Infracost 0.10 (#392) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 31fefabe8..d1222a32a 100644 --- a/README.md +++ b/README.md @@ -322,14 +322,14 @@ Unlike most other hooks, this hook triggers once if there are any changed files -2. Note that there can be a maximum of one flag inside `--terraform-plan-flags`. Split into several `--args` to avoid using spaces in `--terraform-plan-flags`. Example of right usage: +2. Note that spaces are not allowed in `--args`, so you need to split it, like this: ```yaml - id: infracost_breakdown args: - --args=--path=./env/dev - - --args=--terraform-plan-flags="-var-file=terraform.tfvars" - - --args=--terraform-plan-flags="-var-file=../terraform.tfvars" + - --args=--terraform-var-file="terraform.tfvars" + - --args=--terraform-var-file="../terraform.tfvars" ``` 3. (Optionally) Define `cost constrains` the hook should evaluate successfully in order to pass: