Skip to content

Commit

Permalink
update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-henglu committed Sep 18, 2024
1 parent 820fd44 commit 125997d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .azdo/build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ stages:
env:
npm_config_arch: $(npm_config_arch)

- script: npm run package -- --target=$(vsce_target)
- script: npm run package -- --target=$(vsce_target) --pre-release
displayName: 'Package VSIX'
env:
ls_target: $(ls_target)
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ The Terraform AzApi Provider Visual Studio Code (VS Code) extension adds editing
- Completion of allowed azure resource properties when input `body` in `azapi` resources, limitation: it only works when use `jsonencode` function to build the JSON
- Show hint when hover on `azapi` resources
- Diagnostics to indicate schema errors as you type
- Convert resource JSON to azapi configuration.
- Convert ARM template to azapi configuration.

## Demo

Expand All @@ -29,6 +31,16 @@ Show hint when hover on `azapi` resources and diagnostics to indicate schema err

![hint message being displayed when hover on an azapi property](/images/hovers.gif)

Paste resource JSON to the terraform configuration, it will convert to azapi configuration.

![convert resource JSON to azapi configuration](/images/paste-json-as-config.png)


Paste ARM template to the terraform configuration, it will convert to azapi configuration.

![convert ARM template to azapi configuration](/images/paste-arm-templates-as-config.png)


## Configuration

This extension offers several configuration options. To modify these, navigate to the extension view within VS Code, select the settings cog and choose Extension settings, or alternatively, modify the `.vscode/settings.json` file in the root of your working directory.
Expand Down
Binary file added images/paste-arm-templates-as-config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/paste-json-as-config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 125997d

Please sign in to comment.