broad-zoo-34077
04/29/2022, 9:50 AMwhite-airport-8778
brave-secretary-81644
04/29/2022, 11:54 AMwhite-airport-8778
white-airport-8778
infracost breakdown --usage-file /tmp/ignore.yml --sync-usage-file --path ...
brave-secretary-81644
05/10/2022, 10:20 AMtime="2022-05-10T10:02:13Z" level=info msg="Detected Terraform plan JSON file at tfplan.json"
4609
time="2022-05-10T10:02:13Z" level=info msg="Starting: Extracting only cost-related params from terraform"
4610
time="2022-05-10T10:02:15Z" level=info msg="Starting: Syncing usage data from cloud"
4611
panic: interface conversion: interface {} is []*schema.UsageItem, not *usage.ResourceUsage
4612
4613
goroutine 71 [running]:
4614
<http://github.com/infracost/infracost/internal/usage.replaceResourceUsages(0xc000f1bd70|github.com/infracost/infracost/internal/usage.replaceResourceUsages(0xc000f1bd70>, 0xc000bf7f18, {0x53?})
4615
/home/runner/work/infracost/infracost/internal/usage/sync.go:256 +0x5c9
4616
<http://github.com/infracost/infracost/internal/usage.syncResource(0xc000120200|github.com/infracost/infracost/internal/usage.syncResource(0xc000120200>, 0xc000d9d970, 0x7069726373656422?, 0x4b223a226e6f6974?)
4617
/home/runner/work/infracost/infracost/internal/usage/sync.go:196 +0x15d
4618
<http://github.com/infracost/infracost/internal/usage.syncResourceUsages.func1(0x223a226c65646f6d|github.com/infracost/infracost/internal/usage.syncResourceUsages.func1(0x223a226c65646f6d>?, 0x746e617267222c22?)
4619
/home/runner/work/infracost/infracost/internal/usage/sync.go:116 +0x6a
4620
created by <http://github.com/infracost/infracost/internal/usage.syncResourceUsages|github.com/infracost/infracost/internal/usage.syncResourceUsages>
4621
/home/runner/work/infracost/infracost/internal/usage/sync.go:114 +0x4a5
4622
time="2022-05-10T10:02:17Z" level=info msg="Detected Terraform plan JSON file at tfplan.json"
4623
time="2022-05-10T10:02:17Z" level=info msg="Starting: Extracting only cost-related params from terraform"
4624
time="2022-05-10T10:02:19Z" level=info msg="Starting: Retrieving cloud prices to calculate costs"
4625
time="2022-05-10T10:02:19Z" level=warning msg="No products found for aws_launch_configuration Instance usage (Linux/UNIX, on-demand, t2.medium), using 0.00"
4626
time="2022-05-10T10:02:20Z" level=warning msg="No products found for aws_launch_configuration Instance usage (Linux/UNIX, on-demand, t2.medium), using 0.00"
I didn't notice it befoirewhite-airport-8778
--infracost version
youβre using and --log-level debug
if it doesnβt have anything sensitive so we can take a look.brave-secretary-81644
05/20/2022, 10:11 AMbrave-secretary-81644
05/24/2022, 7:24 AMbusy-agent-35515
05/24/2022, 1:30 PMbrave-secretary-81644
05/24/2022, 4:30 PMbrave-secretary-81644
05/24/2022, 5:21 PMbrave-secretary-81644
05/25/2022, 8:01 AM