/
Terraform Configuration File

Terraform Configuration File

  1. [Ubuntu] create a folder and save network_ds.tf file in the folder.

  2. [Ubuntu] Double click the network_ds.tf file to open in VScode.

  1. We will examine each block in the file.

Note: The terraform and provider blocks are the same in each configuration file and are not covered again here.

a.The data block specifies a type of infoblox_ipv4_network. The network_view and cidr arguments are used to identify the unique network.

 

b. Each of the output blocks uses a reference to the data block to output attributes of the data source to the command line. The values are formatted as data.<data source type>.<block name>.attribute. When no individual attribute is specified, the output will include all available data.

Related content