Open AndreiPashkin opened 3 years ago
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.
Sorry, my bad, it's already implemented: https://github.com/scottwinkler/terraform-provider-shell/blob/b477c4ae84984c072dc04cafaf7f1ad15a76f157/shell/utility.go#L43
It's not documented though.
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.