---
title: "Apply Terraform Configuration"
canonical: "https://docs.infoblox.com/space/DeploymentGuideTerraformNIOSProvider/807896609/Apply%20Terraform%20Configuration"
format: markdown
---
In this step, you will use basic Terraform CLI commands to apply the configuration file and create resources in the Infoblox Grid.

1. **[Ubuntu]** Open a **Terminal** window.
2. **[Ubuntu]** Use the command **cd <file_location> ** to navigate to the correct directory.
3. **[Ubuntu]** Run the **terraform init** command to initialize Terraform in this directory and install the Infoblox provider.

![image](media://fcd6960b-128e-4675-aad3-c4b688159b57)


4. **[Ubuntu]** Run the command **terraform plan -out=plan1** to validate the configuration file and plan resource actions. *Note: Running terraform plan prior to applying the configuration is optional but considered a best practice.*

![image](media://6bc53f0d-de0e-40c2-9abb-2abff0500bb7)

5. **[Ubuntu] **Run the **terraform apply plan1** command to start the deployment. *Note: If you did not create a plan prior to running this command, omit the plan1 argument. You may also add -auto-approve to avoid a confirmation prompt.*

![image](media://b907ddae-97d8-49b5-9742-01c541bd768a)