Session creates a directory structure layout for terraform execution. The SessionID is a unique value for creating an ephemeral working directory inside the parentDirPath. All helper functions will return paths for various terraform asserts inside this working directory.
(parentDirPath, sessionID string)
| 31 | // the parentDirPath. All helper functions will return paths for various |
| 32 | // terraform asserts inside this working directory. |
| 33 | func Session(parentDirPath, sessionID string) Layout { |
| 34 | return Layout(filepath.Join(parentDirPath, sessionDirPrefix+sessionID)) |
| 35 | } |
| 36 | |
| 37 | // Layout is the terraform execution working directory structure. |
| 38 | // It also contains some methods for common file operations within that layout. |