Closed logicvenu closed 3 months ago
It looks to me as if the price list (pricing.yml)
is in the same folder. Please see Warning and info message in Error.
As suggested, I did placed pricing.yml file in the separate folder (C:\Users\venug\Costs\Files) and tried,
gcosts calc --dir C:\Users\venug\Costs --pricing C:\Users\venug\Costs\Files\
Please let me know what needs to be done.
The parameter --pricing
must specify the file with the pricing and not the folder. Please also see the README: https://github.com/Cyclenerd/google-cloud-pricing-cost-calculator?tab=readme-ov-file#3-run-it
At last I was able to overcome the error "unmarshal errors".
gcosts calc --dir C:\Users\venug\Costs --pricing C:\Users\venug\Costs\Files\pricing.yml
Created the excel file with no information.
Also when I executed gcosts region, I get the error.
The error message indicates that the pricing.yml
file is not at the specified location.
Describe the bug I tried to run 'gcosts calc' and get the error. 'Yaml: unmarshal errors', enclosed error screenshot, I tried doing the YAML validation it didn't work.
To Reproduce Steps to reproduce the behavior:
Expected behavior Require the correct validated pricing .yml file to run gcosts calc.
Screenshots
Desktop (please complete the following information):
Additional context Add any other context about the problem here.