Skip to content

Azure/azapi-lsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8f001cf · Mar 31, 2025
Jan 5, 2023
Feb 27, 2025
Jan 5, 2022
Nov 26, 2024
Mar 28, 2025
Sep 19, 2022
Mar 31, 2025
Jan 5, 2022
Oct 10, 2024
May 26, 2022
Mar 28, 2025
May 22, 2024
Apr 15, 2022
Jan 12, 2022
Oct 10, 2024
Jul 26, 2022
Mar 31, 2025
Mar 31, 2025
Feb 28, 2022
Nov 17, 2022

Terraform AzAPI Provider Language Server

Experimental version of terraform-provider-azapi language server.

What is LSP

Read more about the Language Server Protocol at https://microsoft.github.io/language-server-protocol/

Introduction

This project only supports completion/hover/diagnostics for terraform-provider-azapi, not targeting support all language features for HCL or Terraform. To get the best user experience, it's recommended to use it with language server for Terraform.

Features

  • Completion of azapi resources
  • Completion of allowed azure resource types when input type in azapi resources
  • Completion of allowed azure resource properties when input body in azapi resources, limitation: it only works when use jsonencode function to build the JSON
  • Better completion for discriminated object
  • Completion for all required properties
  • Show hint when hover on azapi resources
  • Show diagnostics for properties defined inside body

Installation

  1. Clone this project to local
  2. Run go install under the project folder.

Usage

The most reasonable way you will interact with the language server is through a client represented by an IDE, or a plugin of an IDE.

VSCode extension: azapi-vscode

Credits

We wish to thank HashiCorp for the use of some MPLv2-licensed code from their open source project terraform-ls.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages