Apply Terraform Configuration
In this step, you will use basic Terraform CLI commands to view existing resources.
[Ubuntu] Open a PowerShell or Command Prompt window.
[Ubuntu] Use the command cd <file location>to navigate to the correct directory.
[Ubuntu] Run the terraform init command to initialize Terraform in this directory and install the Infoblox provider.
[Ubuntu] Run the command terraform apply -auto-approve to apply the configuration, retrieving the network and outputting attributes to the command prompt. Note the output section returning the desired attributes.
[Ubuntu] you can also fetch these details to a json file directly with the help of these command
terraform plan out “plan_name”
terraform apply “plan_name”>test.json