zerotier / terraform-provider-zerotier

Terraform provider for controlling ZeroTier Central
https://zerotier.com
BSD 3-Clause "New" or "Revised" License
68 stars 21 forks source link

Remove prefixes from assignment pool examples #26

Closed laduke closed 2 years ago

laduke commented 2 years ago

Hey, I was pasting in some examples. Some of the ipassignment_pool examples had /24 at the end. terraform plan would then have a diff every time:

resource "zerotier_network" "nightshade" {
        id               = "a0cbf4b62acee046"
        name             = "cattail"
        # (6 unchanged attributes hidden)

      + assignment_pool {
          + end   = "10.1.0.254"
          + start = "10.1.0.1"
        }
      - assignment_pool {
          - end   = "10.1.0.254/24" -> null
          - start = "10.1.0.1/24" -> null
        }

        # (3 unchanged blocks hidden)
    }

I edited this in github. Hope it looks right.