Setting a Variable on the Command Line

Learn to set variables in Terraform using the command line.

Project example

Let’s continue working with the project we created in the last lesson. We are now going to learn how we can change the value of bucket_suffix.

Click the terminal to run the terraform init command:

Get hands-on with 1400+ tech skills courses.