(ch *tfjson.ResourceChange)
| 144 | } |
| 145 | |
| 146 | func isNonCoderResourceReplacement(ch *tfjson.ResourceChange) bool { |
| 147 | if ch == nil || ch.Change == nil || !ch.Change.Actions.Replace() { |
| 148 | return false |
| 149 | } |
| 150 | return strings.Index(ch.Type, "coder_") != 0 |
| 151 | } |
| 152 | |
| 153 | func replacePathsToStrings(in []any) []string { |
| 154 | out := make([]string, 0, len(in)) |
no test coverage detected