terracost
terracost copied to clipboard
Cloud cost estimation for Terraform in your CLI
The `examples/terracost.go` throws: ``` ../../../gocode/pkg/mod/github.com/cycloidio/[email protected]/terraform/hcl.go:106:26: cannot use mv.SourceAddr (variable of type addrs.ModuleSource) as type string in argument to joinPath ``` ``` go version go1.18.4 linux/amd64 ``` This PR is the...
As of now, the estimate only works when the resources variables are set directly and not via reference. The goal of this issue is to find a way to enable...
### Planned - [x] `google_compute_disk` - [x] `google_compute_instance` - [ ] `google_sql_database_instance` - [ ] `google_redis_instance` - [ ] `google_memcache_instance` - [x] `google_container_cluster` - [x] `google_container_node_pool` - [ ] `google_compute_forwarding_rule`...
### Planned - [ ] `azurerm_firewall` - [x] `azurerm_linux_virtual_machine` - [ ] `azurerm_linux_virtual_machine_scale_set` - [ ] `azurerm_managed_disk` - [ ] `azurerm_mariadb_server` - [ ] `azurerm_mssql_elasticpool` - [ ] `azurerm_mysql_server` -...
## Steps to Reproduce: - Using `go version`: `go version go1.18.1 darwin/arm64` - Run: `go install github.com/cycloidio/terracost@latest`: - Install fails with error message: go: github.com/cycloidio/terracost@latest (in github.com/cycloidio/[email protected]): The go.mod file...
We had the fork as the newer versions cannot be imported, so just using an old one should do the trick. Closes #74
In case where the HCL are modules, it might happen that not all variables are specified. It would be interesting to see if we can set those variables with some...
Should we switch from `eu-west-3` to `us-east-1` Most of the services are available on `us-east-1` first and few services might not be on eu-west-3 yet. If yes we will have...
To ease contribution and local tests, we need to improve the generation of pricing SQL dump (https://github.com/cycloidio/terracost/tree/master/mysql/testdata) Ideally having the `.go` with the current services imported and a `make updateInject`...
_Ongoing redaction_