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

Data source does not get previous output #132

Open joeyea323 opened 2 weeks ago

joeyea323 commented 2 weeks ago

When using the shell_script resource, I can pull in the previous output from stdin. However when using the data source, I'm not getting the previous output and instead getting {}. Can this be changed to pass the previous output to stdin like it does for the resource?