Layout is the terraform execution working directory structure. It also contains some methods for common file operations within that layout. Such as "Cleanup" and "ExtractArchive". TODO: Maybe we should include the afero.FS here as well, then all operations would be on the same FS?
| 40 | // TODO: Maybe we should include the afero.FS here as well, then all operations |
| 41 | // would be on the same FS? |
| 42 | type Layout string |
| 43 | |
| 44 | // WorkDirectory returns the root working directory for Terraform files. |
| 45 | func (l Layout) WorkDirectory() string { return string(l) } |