Installed versions: 1.2.8, 1.1.9, 1.0.11, 0.14.10.

If there’s an error in a command in the middle of the script and the last command succeeds, the entire action will succeed, not revealing that some command may have failed.

Parameters

ParameterDescription
VersionThe Terraform CLI version to use when executing the script.
CommandA single Terraform command or a batch of Terraform commands executed as a script.
Working DirectoryWhen a working directory is selected, the filesystem state is preserved across steps that use this directory. Files and changes in the chosen directory persist across steps, ensuring continuity. For more information, refer to the Create Working Directory action documentation for guidance on setting up and selecting working directories.