clean-jackal-84980
06/19/2025, 10:41 AMqa2
and staging2
are not being detected. Can I configure the autodetect in usgae file eg below:-
version: 0.1
resource_type_default_usage:
azurerm_app_configuration:
monthly_additional_requests: 1666666
autodetect:
env_names:
- dev
- qa*
- staging*
- prod
- dr
busy-agent-35515
06/19/2025, 11:41 AM- "qa*"
. See here https://www.infracost.io/docs/features/config_file/#auto-detect-parametersbusy-agent-35515
06/19/2025, 11:42 AMinfracost.yml
busy-agent-35515
06/19/2025, 11:43 AMclean-jackal-84980
06/19/2025, 12:22 PM--config-file string | Path to Infracost config file. Cannot be used with path, terraform* or usage-file flags
What are the alternative when I need both below is my command.
infracost breakdown --path=. --format=json --out-file=/tmp/infracost.json --usage-file ${{ parameters.infracostUsageFile }} --log-level ${{ parameters.infracostLogLevel }}
busy-agent-35515
06/19/2025, 12:39 PMusage_file
in the config filebusy-agent-35515
06/19/2025, 12:39 PMbusy-agent-35515
06/19/2025, 12:42 PMwhite-airport-8778