Skip to content

Commit

Permalink
Fixed sequential range issue
Browse files Browse the repository at this point in the history
  • Loading branch information
techBeck03 committed Nov 10, 2021
1 parent 590251e commit 204fa68
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 30 deletions.
8 changes: 4 additions & 4 deletions docs/resources/fixed_address.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Manages configuration details for a fixed address in infoblox
```terraform
resource "infoblox_fixed_address" "fixed-addr" {
ip_address = "172.19.4.251"
name = "HSRP-A"
hostname = "HSRP-A"
comment = "example fixed address"
match_client = "RESERVED"
restart_if_needed = true
Expand All @@ -41,7 +41,7 @@ resource "infoblox_fixed_address" "fixed-addr" {
```terraform
resource "infoblox_fixed_address" "fixed-addr" {
cidr = "172.19.4.0/24"
name = "HSRP-A"
hostname = "HSRP-A"
comment = "example fixed address"
match_client = "RESERVED"
restart_if_needed = true
Expand All @@ -66,7 +66,7 @@ resource "infoblox_fixed_address" "fixed-addr" {
```terraform
resource "infoblox_fixed_address" "fixed-addr" {
range_function_string = "172.19.4.2-172.19.4.10"
name = "HSRP-A"
hostname = "HSRP-A"
comment = "example fixed address"
match_client = "RESERVED"
restart_if_needed = true
Expand All @@ -91,7 +91,7 @@ resource "infoblox_fixed_address" "fixed-addr" {
```terraform
resource "infoblox_fixed_address" "fixed-addr" {
ip_address = "172.19.4.251"
name = "HSRP-A"
hostname = "HSRP-A"
comment = "example fixed address"
mac = "12:34:56:78:9A:BC"
match_client = "MAC_ADDRESS"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ require (
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320
github.com/hashicorp/terraform-plugin-sdk/v2 v2.4.3
github.com/techBeck03/go-ipmath v0.0.8
github.com/techBeck03/infoblox-go-sdk v1.0.0
github.com/techBeck03/infoblox-go-sdk v1.0.1
github.com/tidwall/gjson v1.9.3
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/techBeck03/go-ipmath v0.0.8 h1:U/z7bYt+92I/VpbJvpW48+hnPC0rOmvLuyEuiURNeWw=
github.com/techBeck03/go-ipmath v0.0.8/go.mod h1:VugtTa3vBBdfSTeYQQov/NzzXt40R+LtuFr15KWUhpY=
github.com/techBeck03/infoblox-go-sdk v1.0.0 h1:q62/WhKLMCSJEQIg71fx/3PbdTIEgLJtXJnl+LcGvpk=
github.com/techBeck03/infoblox-go-sdk v1.0.0/go.mod h1:miTvClw8XenPYZ9psw+71AmtlPmY2Lu0EPLBWJ0JIQw=
github.com/techBeck03/infoblox-go-sdk v1.0.1 h1:Em+53efxhKUmB05+QbQHQdWJIpaljp7On+8K21ApekI=
github.com/techBeck03/infoblox-go-sdk v1.0.1/go.mod h1:miTvClw8XenPYZ9psw+71AmtlPmY2Lu0EPLBWJ0JIQw=
github.com/tidwall/gjson v1.9.3 h1:hqzS9wAHMO+KVBBkLxYdkEeeFHuqr95GfClRLKlgK0E=
github.com/tidwall/gjson v1.9.3/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA=
Expand Down
44 changes: 22 additions & 22 deletions vendor/github.com/techBeck03/infoblox-go-sdk/range.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ github.com/oklog/run
# github.com/techBeck03/go-ipmath v0.0.8
## explicit
github.com/techBeck03/go-ipmath
# github.com/techBeck03/infoblox-go-sdk v1.0.0
# github.com/techBeck03/infoblox-go-sdk v1.0.1
## explicit
github.com/techBeck03/infoblox-go-sdk
# github.com/tidwall/gjson v1.9.3
Expand Down

0 comments on commit 204fa68

Please sign in to comment.