/
Applying Terraform Configuration

Applying Terraform Configuration

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 path> to navigate to the correct directory where your <configuration>.tf file is located.

  3. [Ubuntu]Run the terraform init command to initialize Terraform in this directory and install the Infoblox provider.

  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.

  1. [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.

 

Related content