You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terraform will introduce provider-defined functions in an upcoming release. This will allow provider authors to ship their own functions. Practitioners will be able to use them in their Terraform configuration using a new function call syntax: provider::aws::noop().
We currently support all built-in core functions as static definitions in terraform-schema. The provider functions will be part of the provider schema JSON and should be parsed whenever we get a provider schema (bundled or via CLI). Both need to be merged into a single list of function signatures.
Expected User Experience
Syntax highlighting, completion, hover, semantic tokens, and signature help are working as expected for provider-defined functions.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Background
Terraform will introduce provider-defined functions in an upcoming release. This will allow provider authors to ship their own functions. Practitioners will be able to use them in their Terraform configuration using a new function call syntax:
provider::aws::noop()
.We currently support all built-in core functions as static definitions in terraform-schema. The provider functions will be part of the provider schema JSON and should be parsed whenever we get a provider schema (bundled or via CLI). Both need to be merged into a single list of function signatures.
Expected User Experience
Syntax highlighting, completion, hover, semantic tokens, and signature help are working as expected for provider-defined functions.
Proposal
hcl
FunctionCallExpr
NameRange
for namespaced function call expressions hcl#650hcl-lang
nil
expressionsterraform-json
terraform-schema
terraform-ls
coreFunctions
with the new functions merger terraform-ls#1613 -> PRsyntax
Stretch Goals
The text was updated successfully, but these errors were encountered: