terraform-provider-shell
terraform-provider-shell copied to clipboard
Terraform provider for executing shell commands and saving output to state file
I wonder if someone figured out how to use 'as-is' and still get error message to shows-up without TF_LOG=TRACE. Even DEBUG is not good enough. Whatever happen in the script...
I saw a mention in #31 that the provider output doesn't parse JSON lists, only maps. This is unfortunately accurate; if I produce a JSON-valid list (it's from a `jq`...
First and foremost, thank you so much for this provider! The behavior of the provider to send in the existing state JSON as stdin to the spawned shell is neither...
Hi @scottwinkler, looking at the docs and just browsing through the code, it's not entirely clear what `enable_parallelism` does. Can you add some more docs on it? I'm curious because...
It could be useful for scripts to be able to operate on previous state to make decision whether previous value must be updated or retained.
Hi! Example, following output: ```JSON { "application": { "api": { "arg1": null, "arg2": [], "arg3": [ { "id": "305ed81c-35c0-47dc-900a-3abe368127d3", "sub3": true } ], "preAuthorizedApplications": [] } } } ``` gets...
When I tried to run `terraform plan`, I received [this error](https://github.com/scottwinkler/terraform-provider-shell/blob/2d2be90f2cca9094d96602c64276f76cc9bf53dc/shell/resource_shell_script.go#L148-L149): ``` changes to `lifecycle_commands` and/or `interpreter` should not be follwed by changes to other arguments ``` I'm not sure...
Hello, Thanks for the provider. I'd like to see if there is a way around the escaping of double-quotes. When I run a curl command under windows (cmd interpreter), the...
It would be great to have an option to mark the output of the data source as sensitive to hide it from the logs.
Instead of forcing people to output JSON, it would be nice to have the option of outputting a string. e.g. echo "hello" would return just the string "hello". No need...