Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Insert excerpt
infoblox_ipv4_network_container Resource
infoblox_ipv4_network_container Resource
nopaneltrue

Examples of the Network Container Resource

...

// full set of parameters for statically allocated IPv6 network container
resource "infoblox_ipv6_network_container" "v6net_c2" {
    cidr = 2002:1f93:0:2::/96 // you may allocate the same IP address range but in another network view
    network_view = "nondefault_netview"
    comment = "new generation network segment"
    ext_attrs = jsonencode({
      "Site" = "space station"
      "Country" = "Earth orbit"
    })
}

// full set of parameters for dynamic allocation of network containers
resource "infoblox_ipv6_network_container" "v6net_c3" {
    parent_cidr = infoblox_ipv6_network_container.v6net_c2.cidr
    allocate_prefix_len = 97
    network_view = "infoblox_ipv6_network_container.v6net_c2.network_view"
    comment = "dynamic allocation of network container"
    ext_attrs = jsonencode({
      "Tenant ID" = "terraform_test_tenant"
      "Site" = "Test site"
    })
}