diff --git a/CHANGELOG.md b/CHANGELOG.md index 13af2301..30cac114 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## HEAD (Unreleased) +- feat: verbosity and debug inputs to enable debug options + --- ## 5.1.1 (2024-01-24) diff --git a/action.yml b/action.yml index d8ca536c..d004531e 100644 --- a/action.yml +++ b/action.yml @@ -100,6 +100,15 @@ inputs: plan: description: 'Where to either save an Update Plan or read an Update Plan from' required: false + log-verbosity: + description: 'Log verbosity of CLI during execution 1-10; Anything >3 is very verbose' + required: false + log-to-std-err: + description: 'Log to stderr instead of to files' + required: false + debug: + description: 'Print detailed debugging output during resource operations' + required: false outputs: output: description: Output from running command diff --git a/src/config.ts b/src/config.ts index d1ba98f5..782bdf75 100644 --- a/src/config.ts +++ b/src/config.ts @@ -71,6 +71,9 @@ export function makeConfig() { }), excludeProtected: getBooleanInput('exclude-protected'), plan: getInput('plan'), + logVerbosity: getInput('log-verbosity'), + logToStdErr: getInput('log-to-std-err'), + debug: getInput('debug'), }, }; }