Cross platform functionality achieved!
As someone who uses PowerShell on 2 of the 3 major operation systems, Linux and Windows, having my modules work on all systems is very important to me. Doing this is usually though, but when working with Terraform which is cross platform made it relatively easy.
By utilizing a helper function to determine the OS and setting that platforms specific settings, and by using Azure DevOps pipelines to run Pester tests on the code, we now have a toolset that works on Linux, Windows and Mac.
You can install 0.3.5 from the PowerShell Gallery by running
# Install Install-Module -Name tftools -RequiredVersion 0.3.5 # Update Update-Module -Name tftools -RequiredVersion 0.3.1
If you face any issues, please open an issue on GitHub. Any feedback is appreciated.