Skip to content

Commit

Permalink
refactor: explicitly require Hashicorp.terraform as a dep
Browse files Browse the repository at this point in the history
  • Loading branch information
hugorut committed Jun 29, 2022
1 parent 2ad337a commit b20be4b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
dist
node_modules
.DS_Store

infracost-*.vsix
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,9 @@ Check out the video below to see the Infracost extension in action!
## Getting started

1. Install [Infracost CLI](https://www.infracost.io/docs/#1-install-infracost) on your machine & register for an API key.
2. Open VSCode and install the [Hashicorp Terraform extension](https://marketplace.visualstudio.com/items?itemName=HashiCorp.terraform).
![](https://github.com/infracost/vscode-infracost/blob/master/.github/assets/terraform-install.png?raw=true)
3. Then install the [Infracost extension](https://marketplace.visualstudio.com/items?itemName=Infracost.infracost).
2. Open VSCode and install the [Infracost extension](https://marketplace.visualstudio.com/items?itemName=Infracost.infracost). This will also install the the [Hashicorp Terraform extension](https://marketplace.visualstudio.com/items?itemName=HashiCorp.terraform) extension if you don't already have it.
![](https://github.com/infracost/vscode-infracost/blob/master/.github/assets/infracost-install.png?raw=true)
4. Navigate to any Terraform file, if you've done the prior steps correctly you'll see costs above [supported blocks](https://www.infracost.io/docs/supported_resources/overview/).
3. Navigate to any Terraform file, if you've done the prior steps correctly you'll see costs above [supported blocks](https://www.infracost.io/docs/supported_resources/overview/).
![](https://github.com/infracost/vscode-infracost/blob/master/.github/assets/maintf.png?raw=true)

## Requirements
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "infracost",
"displayName": "Infracost",
"description": "Cloud cost estimates for Terraform in your editor",
"version": "0.1.6",
"version": "0.1.7",
"publisher": "Infracost",
"license": "Apache-2.0",
"icon": "infracost-logo.png",
Expand All @@ -19,6 +19,9 @@
"terraform",
"hcl"
],
"extensionDependencies": [
"HashiCorp.terraform"
],
"repository": {
"type": "git",
"url": "https://github.com/infracost/vscode-infracost.git"
Expand Down

0 comments on commit b20be4b

Please sign in to comment.