worried-soccer-6764009/15/2022, 10:10 PM
with a config file but i'm having issues.
i get this error
infracost breakdown --path=$SHOWFILE \ --format=json \ --config-file /atlantis-data/repos/b2c2/infrastructure/$PULL_NUM/default/infracost-generated.yml --log-level=info \ --out-file=$INFRACOST_OUTPUT
i can't use this against a plan file? i assumed it would... seems strange that this isn't supported. it would be great to see a diff that takes into account current usage. currently all my diffs show the cost of the min_size of the autoscaling group, so being able to get the cost based on the current instance count would be great!
Error: --config-file flag cannot be used with the following flags: --path, --project-name, --terraform-*, --usage-file sh: --log-level=info: not found