Offline environments
Use --offline when an assessment must use only local files and caches.
stacktoit assess ./terraform --offlineOffline mode downloads no remote modules, provider packages or price data. The source, local modules, local caches and offline validation still run.
Prepare the machine
Section titled “Prepare the machine”- Keep the source tree and its local modules available. A remote module that is not already in
.terraform/modulesor the local cache is reported as missing. - Commit
.terraform.lock.hcland prepare a local provider mirror withtofu providers mirrorif you need OpenTofu validation. See Validation. - Run
stacktoit prices refreshon the machine while it has network access, or add your own price sheet withstacktoit prices import --sheet FILE. See prices.
Check what the price cache holds:
stacktoit prices statusInterpret unavailable evidence
Section titled “Interpret unavailable evidence”A missing module or input is reported as missing or partial; unavailable pricing remains unpriced. A validation that cannot run is reported as not run, not as successful validation. Review these statuses before using the resulting migration plan.
See Security and network access and prices.