Have you failed a job interview?
Send us your job interview questions and get correct answers.

How can you pass variables to Terraform CLI console command?

Experience Level: Junior
Tags: Terraform


Run the following command:

terraform console -var 'foo=bar' -var 'abc=def'


terraform console -var-file=file


No Comments Yet.
Be the first to tell us what you think.
Terraform CLI
Terraform CLI

Are you learning Terraform ? Try our test we designed to help you progress faster.

Test yourself