Hi @vikas027
Thanks for the request here - this resource is a generic resource for executing scripts. The JSON example was just to demonstrate what can be done - we won't be able to start adding other language examples as it would be difficult to understand what we should and shouldn't support
I am pretty sure you can find some examples of Processing JSON in ruby and python on StackOverflow
Thanks
Paul
@stack72 Yeah, I can find tons of examples elsewhere and I can make things work out. But IMHO documentation should at least have a couple of lines (to refer as a starting point) of how/what to expect input (from Terraform code) in Ruby, Python or any popular language.
For example, I am very good in bash and can code in Ruby as well, but I didn't know that I can do something like JSON.parse(STDIN.read) in ruby. This is just a thought coming from people with rich infra background but are moderately skilled developers. Thanks.
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.
Most helpful comment
@stack72 Yeah, I can find tons of examples elsewhere and I can make things work out. But IMHO documentation should at least have a couple of lines (to refer as a starting point) of how/what to expect input (from Terraform code) in Ruby, Python or any popular language.
For example, I am very good in bash and can code in Ruby as well, but I didn't know that I can do something like
JSON.parse(STDIN.read)in ruby. This is just a thought coming from people with rich infra background but are moderately skilled developers. Thanks.