terraform-provider-shell
terraform-provider-shell copied to clipboard
Terraform provider for executing shell commands and saving output to state file
Greetings! I'm facing an annoying race condition upon creating my Google Compute Engine project. Even though I activate the compute APIs and the dependency from the shell resource is clearly...
# Terraform and Provider Version Terraform: 0.13.4 scottwinkler/shell: 1.7.3 # Affected Resource `shell_script ` # Expected Behavior `dirty` property should default to `false` when creating resource as stated in https://github.com/scottwinkler/terraform-provider-shell/blob/b37971c0fa729443046732bc515c5b212c960d78/shell/resource_shell_script.go#L80....
This is a hack that fixes #60. I believe the footprint to be reasonably small and that it has some merit. I'm tempted to use a `DiffSuppressFunc` that disables the...
If the output of the read doesn't return anything then the resource should not be created. Check if output variable is set in the create() function
so I am testing with this example code, which is working in Linux but not in Windows: `provider shell { interpreter = ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", "-c"] #interpreter = ["/bin/bash", "-c"] enable_parallelism =...
https://github.com/scottwinkler/terraform-provider-shell/blob/ef2552de102f6afa959b2e6d448d9aec86fcf1a0/shell/resource_shell_script.go#L360 I don't believe it makes a difference in the runCommand function, as Action is only checked for ActionCreate, but I believe it should be ActionUpdate in the update function...
I tried outputting a JSON string for create. Didn't work. I tried outputting a JSON object. That worked. It would be good to documentation what JSON types are permitted.
First of all, thanks for this project. I've used it a few times over the last few years where there has been a provider shortfall. Recently I tried to use...
We've found an issue with TF tracking changes to the script when there aren't any and after it has been successfully applied. After some investigation, we concluded that this is...
I tested the example in my Windows 10 that has VSCode with MINGW64 and CYGWIN shells and in both I saw it starts a `cmd` instead of execute the bash...