scottwinkler / terraform-provider-shell

Terraform provider for executing shell commands and saving output to state file
Mozilla Public License 2.0
279 stars 60 forks source link

previous and new output swapped #76

Closed dr4Ke closed 3 years ago

dr4Ke commented 3 years ago

In the debug log, the previous output and new output are swapped. This was puzzling me since the new output didn't equal the read output script.

https://github.com/scottwinkler/terraform-provider-shell/blob/04e86df9675146607e0de5deaac1a62cd6884f11/shell/resource_shell_script.go#L199

scottwinkler commented 3 years ago

thank you for this, i will fix in the next version.