Updated CLI args, config attributes and blocks
before_hook
[BACKWARD INCOMPATIBLE]after_hook
[BACKWARD INCOMPATIBLE]error_hook
[BACKWARD INCOMPATIBLE]
Description
- Fixed redirection of stdout to stderr in hooks execution.
Migration guide
To disable stdout redirection should be defined attribute suppress_stdout = true
in the hook declaration:
terraform {
...
after_hook "after_init_from_module" {
...
suppress_stdout = true
}
after_hook "after_init" {
...
suppress_stdout = true
}
error_hook "handle_error" {
...
suppress_stdout = true
}
}