- Makefile: https://github.com/owenrumney/make-ls
- Goreleaser: https://github.com/owenrumney/goreleaser-ls
121 karma · joined August 24, 2017
- Makefile: https://github.com/owenrumney/make-ls
- Goreleaser: https://github.com/owenrumney/goreleaser-ls
If its a straight error, then the error response is returned and we're all happy!
If the handler panics, the server crashes, so that's something I'm off to fix now!
Thanks!!!!
I've now started a Makefile lsp since you've inspired me to think about the painful scenarios that LSP can solve if I think a bit wider.
Cheers for that!!
Language servers are cool!
Thankfully, I finally had a reason to build an LSP (infracost LSP), so it motivated this and I'm really pleased with it
It adds things like management of guardrails and policies that can be maintained by a finops role, or engineering manager. PRs can block or notify if thresholds are going to be breached by a specific PR.
Going off the other threads of this post, how much engineers should know or care about billing seems to be open for debate; I think an engineer needs to appreciate that often cost is one of the many trade-offs that need to be accounted for
ChatGPT gave me a decent chuck of terraform and running Infracost against it gave me a $515 monthly cost.
If you go to the settings of the plugin and get the absolute path of infracost binary then run
infracost breakdown --path .
in the dir with the terraform, does it give you a breakdown?
Thanks for the feedback
So overall, the two main benefits are cost avoidance, and then engineering time saving or toil reduction, since all the issues get fixed before the code is merged. The product is being used by over 3,000 companies now in CI/CD; we have a few case studies on the website: https://www.infracost.io/safe-fleet/
Hope this Gif is clearer - https://github.com/infracost/jetbrains-infracost/blob/244ee8...
This is tackling one aspect of this - highlighting the cost to the engineer.
Metadata about the resources that require cost estimation are rolled up and sent to the pricing API, it's generally pretty quick process even with large projects
There is a definite case for pulling usage data from the cloud account to make suggestions about right sizing though, that's a definite roadmap item
2. There is a vscode extension - https://marketplace.visualstudio.com/items?itemName=Infracos...
3. That is a challenge, we use usage files, but in the future would like to pull it from the cloud account to be more accurate and the best suggestions. https://www.infracost.io/docs/features/usage_based_resources...
As for usage, at the moment it's driven from a usage file - https://www.infracost.io/docs/features/usage_based_resources...
In the future, we'd like to infer usage directly from the cloud account to give the most accurate view and do right size suggestion
It's not dissimilar to AWS urging people to use Flex or Graviton instances, only we can decide if our workload will run appropriately!
Definitely one for the road map!
There is a potential intersection, but that might have to go further down the roadmap