Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Provider-Defined Functions #118

Closed
bflad opened this issue Jan 8, 2024 · 0 comments · Fixed by #119
Closed

Support Provider-Defined Functions #118

bflad opened this issue Jan 8, 2024 · 0 comments · Fixed by #119
Labels
enhancement New feature or request

Comments

@bflad
Copy link
Contributor

bflad commented Jan 8, 2024

Description

Terraform 1.8 will be introducing provider-defined function support. As part of this, the existing terraform providers schema -json output will be updated with additional function definition/signature information. The initial Terraform implementation can be found at: hashicorp/terraform#34450

This information is necessary for terraform-plugin-docs (provider documentation generation) and terraform-schema (editor integrations).

Additional References

@bflad bflad added the enhancement New feature or request label Jan 8, 2024
bflad added a commit that referenced this issue Jan 11, 2024
…-json

Reference: #118
Reference: hashicorp/terraform#34450

The Terraform `providers schema -json` output implementation currently uses the entire `metadata functions -json` implementation, so has the additional nesting layer containing `format_version` and `function_signatures`.
radeksimko pushed a commit that referenced this issue Jan 19, 2024
…-json (#119)

* Initial support for provider-defined functions from providers schema -json

Reference: #118
Reference: hashicorp/terraform#34450

The Terraform `providers schema -json` output implementation currently uses the entire `metadata functions -json` implementation, so has the additional nesting layer containing `format_version` and `function_signatures`.

* Remove extraneous function metadata object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant