Initialize a Local Terraform Configuration
Start by running Terraform locally on a project we've created for you.
This Terraform config uses the random_pet provider to generate a random name like
feasible-cougar. It doesn't require any credentials and it won't cost any money to run.
Change into the project directory:
Initialize the project:
Apply the configuration. You'll be asked to confirm by typing "yes", and then the name of an animal will be printed as an output.
Do you want to perform these actions? Terraform will perform the actions described above. Only 'yes' will be accepted to approve. Enter a value: yes random_pet.server: Creating... random_pet.server: Creation complete after 0s [id=feasible-cougar] Apply complete! Resources: 1 added, 0 changed, 0 destroyed. Outputs: random_server_id = feasible-cougar
In the next step, you'll execute this configuration on Terraform Cloud.