Skip to content

Commit

Permalink
go-client version, changelog and docs (#294)
Browse files Browse the repository at this point in the history
1) updating infoblox-go-client's version in go.mod
2) updating the documentation for 'infoblox_ptr_record' resource
3) updating CHANGELOG.md
  • Loading branch information
skudriavtsev authored Apr 13, 2023
1 parent ea8fc24 commit 5ad2e9f
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 5 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## [v2.3.0](https://github.com/infobloxopen/terraform-provider-infoblox/tree/v2.3.0) (2023-04-13)
- Minimal required Go-lang version is bumped up
- infoblox_ptr_record resource's behaviour changes (see the documentation changes for the details)
- 'dns_view' and 'network_view' fields are now optional for all the `resources and data sources
- New resources:
- infoblox_mx_record
- infoblox_txt_record
- infoblox_srv_record
- New data sources:
- infoblox_mx_record
- infoblox_txt_record
- infoblox_srv_record
- Bugfixes

## [v2.2.0](https://github.com/infobloxopen/terraform-provider-infoblox/tree/v2.2.0) (2022-12-07)
- New feature: ability to import resources from existing NIOS objects
- New Data sources:
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/infoblox_ptr_record.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The following list describes the parameters you can define for the `infoblox_ptr

-> When creating the PTR-record in a forward-mapping zone, `ptrdname` and `record_name` parameters are required, and `network_view` is optional. The corresponding forward-mapping zone must have been already created at the appropriate DNS view.

-> When creating a PTR-record in a reverse-mapping zone, you must specify the `ptrdname` attribute with either the `ip_addr`, `cidr`, or `record_name` attribute. If you configure all three parameters, that is `ip_addr`, `cidr`, and `record_name`, the order of precedence for the record creation is `record_name` > `ip_addr` > `cidr`. The values of parameters with lower precedence are ignored.
-> When creating a PTR record in a reverse-mapping zone, you must specify the `ptrdname` parameter with any one of the `ip_addr`, `cidr`, and `record_name` parameters. Configuring any two or all of `ip_addr`, `cidr`, and `record_name` parameters in a resource block is not supported.

### Example of a PTR-record Resource

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/google/uuid v1.3.0
github.com/hashicorp/terraform-plugin-log v0.7.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.4.3
github.com/infobloxopen/infoblox-go-client/v2 v2.2.1-0.20230327031704-8624a4a85c52
github.com/infobloxopen/infoblox-go-client/v2 v2.3.0
github.com/sirupsen/logrus v1.8.0
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpO
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/imdario/mergo v0.3.9 h1:UauaLniWCFHWd+Jp9oCEkTBj8VO/9DKg3PV3VCNMDIg=
github.com/imdario/mergo v0.3.9/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
github.com/infobloxopen/infoblox-go-client/v2 v2.2.1-0.20230327031704-8624a4a85c52 h1:3jKHbil9SHLUY8W/J+S1k9SUr4PrZBI965FBi2QZYqc=
github.com/infobloxopen/infoblox-go-client/v2 v2.2.1-0.20230327031704-8624a4a85c52/go.mod h1:ZR191VH7ccpUZ+dzjALQorTevLPv+1P9N62TGJ87ib0=
github.com/infobloxopen/infoblox-go-client/v2 v2.3.0 h1:xLHcstumFvziz8dhrc+8gNRwfAyM2Q0nLSlyfK0+3XU=
github.com/infobloxopen/infoblox-go-client/v2 v2.3.0/go.mod h1:ZR191VH7ccpUZ+dzjALQorTevLPv+1P9N62TGJ87ib0=
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A=
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo=
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
Expand Down
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ github.com/hashicorp/terraform-plugin-sdk/v2/terraform
# github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d
## explicit
github.com/hashicorp/yamux
# github.com/infobloxopen/infoblox-go-client/v2 v2.2.1-0.20230327031704-8624a4a85c52
# github.com/infobloxopen/infoblox-go-client/v2 v2.3.0
## explicit; go 1.17
github.com/infobloxopen/infoblox-go-client/v2
# github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
Expand Down

0 comments on commit 5ad2e9f

Please sign in to comment.