Repository navigation
costerra v0.3.1
·
7 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Added
- Several outputs in one run:
--formattakesFORMAT[:FILE]and can be
repeated or comma-separated, e.g.--format table,markdown:costerra.md
prints the table in the CI log and writes the MR comment to a file. At most
one format goes to stdout (or to--out). A table written to a file has no
colors.consoleis an alias oftable. costerra completions <shell>: completion scripts for bash, zsh, fish,
elvish, powershell, nu and xonsh. The Homebrew formula installs the bash,
zsh and fish completions.- Colored
--helpand usage errors (off withNO_COLOR).
Fixed
costerra diff: a root module with one project per environment
(environments/*.tfvars) was named after the temporary checkout on the
base side (costerra-base-XXXXXX (dev)), so every environment showed as
removed and added. The base checkout now has the same repository root as
the head one, which also fixesget_repo_root()and the discovery of
costerra.ymlandcosterra-usage.ymlon the base side.--rightsize: when the same value is set in several module calls, the
line in the module call of the resource is kept (module "web_proxy"),
instead of every line with a matching entry. The note names the blocks of
the remaining lines rather than(in ?, ?).--rightsize: a cost after rightsizing that rounds to zero is shown as
$0.00, not-$0.00.- Contract prices: when the billing account is detected but its prices are
refused (HTTP 403), costerra now prints a single-line warning, uses list
prices and does not ask again for 6 hours. Before, every run downloaded the
whole price list again and printed the raw API error. The error now names
the permission the bulk download checks (billing.billingAccountPrices.list). --format markdown: projects are named as in the terminal table
(terraform (prod)rather than. (prod)), and the rightsizing section
comes before the footer.