Add YAML support
See original GitHub issueCommunity Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave “+1” or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
I’ve been using terraform funtions (json and yaml decode/encode) To convert terraform json <> terraform yaml.
Would it be possible to have similar terraform validated yaml output from synth ?
{
"//": {
"metadata": {
"version": "0.0.12",
"stackName": "python-azure"
}
},
"terraform": {
"required_providers": {
"azurerm": "~> 2.0"
}
},
"provider": {
"azurerm": [
{
"subscription_id": "<>",
"tenant_id": "<>",
"features": [
{}
]
}
]
},
"resource": {
"azurerm_resource_group": {
"pythonazure_testrg_4EE2DCD8": {
"location": "northeurope",
"name": "test",
"//": {
"metadata": {
"path": "python-azure/testrg",
"uniqueId": "pythonazure_testrg_4EE2DCD8",
"stackTrace": []
}
}
}
}
}
}
"//":
"metadata":
"stackName": "python-azure"
"version": "0.0.12"
"provider":
"azurerm":
- "features":
- {}
"subscription_id": "<>"
"tenant_id": "<>"
"resource":
"azurerm_resource_group":
"pythonazure_testrg_4EE2DCD8":
"//":
"metadata":
"path": "python-azure/testrg"
"stackTrace": []
"uniqueId": "pythonazure_testrg_4EE2DCD8"
"location": "northeurope"
"name": "test"
"terraform":
"required_providers":
"azurerm": "~> 2.0"
References
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:7 (5 by maintainers)
Top Results From Across the Web
YAML Tutorial: Everything You Need to Get Started in ...
YAML has broad language support and maps easily into native data structures. It's also easy to for humans to read, which is why...
Read more >YAML - Visual Studio Marketplace
Provides comprehensive YAML Language support to Visual Studio Code, via the yaml-language-server, with built-in Kubernetes syntax support.
Read more >Chapter 11. Adding YAML configuration support
You can add the Quarkus Config YAML extension and use YAML over properties for configuration. Quarkus supports using application.yml as well as application.yaml...
Read more >Code Style. YAML | IntelliJ IDEA Documentation
Use this page to configure formatting options for YAML files. When you change these settings, the Preview pane shows how this will affect ......
Read more >Boost your YAML with autocompletion and validation
To ease on our customers and with JSON Schema assistance we added ... Provides comprehensive YAML Language support to Visual Studio Code, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is YAML supported as input for Terraform?? Besides, what would be the use-case for you?
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’ve 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.