terraform console

Category: IaC & Automation

terraform console

Open an interactive expression evaluation shell

Starts a read-eval-print loop where you can type expressions and interpolations against the current state and configuration. Great for testing references like aws_instance.web.id before putting them in configuration. Type exit to leave. Related: terraform plan.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.