-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Backport of Introduce metadata functions
command into v1.4
#32681
Backport of Introduce metadata functions
command into v1.4
#32681
Conversation
d9adf08
to
b171996
Compare
Reminder for the merging maintainer: if this is a user-visible change, please update the changelog on the appropriate release branch. |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Backport
This PR is auto-generated from #32487 to be assessed for backporting due to the inclusion of the label 1.4-backport.
The below text is copied from the body of the original PR.
This PR builds upon the function descriptions added in #32453 and adds a new CLI command to export those as JSON. The new command enables machine-readable function signatures (more: TF-508: Machine-readable function signatures), which can be consumed by the language server and others (CDK, website docs, ...). The first consumer will be the Terraform language server, to provide function signature information inside the editor.
UX
Metadata command:
Metadata functions command (missing flag):
Metadata functions command (error example):
Metadata functions command (valid):
Full (formatted) output
Open Questions / TODOs
TestMetadataFunctions_output
testMarshall
?can
andtry
?Target Release
1.4.x
Draft CHANGELOG entry
NEW FEATURES
terraform metadata functions -json