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

Action should be ActionUpdate in update #114

Open freimer opened 1 year ago

freimer commented 1 year ago

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...