Skip to content

assess

assess is the primary StackToIT command. It reads an infrastructure source, analyzes its resources and dependencies, and creates a report, target draft and execution package as applicable.

Terminal window
stacktoit assess [SOURCE] [OUTPUT] [options]

SOURCE defaults to the current directory. Without an explicit output path, StackToIT creates a sibling folder named after the source with a -stacktoit suffix.

Assess the current root module:

Terminal window
stacktoit assess

Assess a selected Terraform directory:

Terminal window
stacktoit assess ./terraform

Select an output directory:

Terminal window
stacktoit assess ./terraform ./migration
stacktoit assess ./terraform --out ./migration

Use local dependencies only:

Terminal window
stacktoit assess ./terraform --offline

Write an assessment without a target draft or execution package:

Terminal window
stacktoit assess ./terraform --analysis-only

Skip validation or require strict exit codes:

Terminal window
stacktoit assess ./terraform --no-validate
stacktoit assess ./terraform --strict
OptionDescription
--offlinePrevent network requests
--analysis-onlyWrite the assessment without the migration execution package
--no-validateSkip the automatic OpenTofu validation attempts
--profile NAMESelect a profile when using a project
--strictReturn non-zero for partial or unverified results
--verboseInclude detailed engineering console output
--format jsonWrite JSON Lines to standard output
--out DIRSet the output directory

The main deliverables include index.html, assessment.json, decisions.json, target-plan.json, execution-plan.json, terraform/ and execution/. The actual file set depends on the source and run options.

The command does not automatically apply the Terraform draft or run cloud migration steps. Review the generated plan, resolve decision requests and follow the relevant change-control procedure before carrying out migration work.

See all assess options and results and deliverables.