diff --git a/docs/resources/infoblox_ptr_record.md b/docs/resources/infoblox_ptr_record.md index c8a05cf23..802e9d1ed 100644 --- a/docs/resources/infoblox_ptr_record.md +++ b/docs/resources/infoblox_ptr_record.md @@ -53,15 +53,15 @@ resource "infoblox_ptr_record" "ptr3" { // dynamically allocated PTR-record, minimal set of parameters resource "infoblox_ptr_record" "ptr4" { ptrdname = "rec4.example2.org" - cidr = infoblox_ipv4_network.net1.cidr + cidr = "10.0.0.0/16" } -// statically allocated PTR-record, full set of parameters, non-default network view +// dynamically allocated PTR-record, full set of parameters, non-default network view resource "infoblox_ptr_record" "ptr5" { ptrdname = "rec5.example2.org" dns_view = "nondefault_dnsview2" network_view = "nondefault_netview" - ip_addr = "2002:1f93::5" + cidr = "10.1.0.0/24" comment = "workstation #5" ttl = 300 # 5 minutes ext_attrs = jsonencode({ diff --git a/examples/resources/infoblox_ptr_record.tf b/examples/resources/infoblox_ptr_record.tf index 0da083c34..bbc236e1a 100644 --- a/examples/resources/infoblox_ptr_record.tf +++ b/examples/resources/infoblox_ptr_record.tf @@ -31,12 +31,12 @@ resource "infoblox_ptr_record" "rec4" { cidr = infoblox_ipv4_network.net1.cidr } -// statically allocated PTR-record, full set of parameters, non-default network view +// dynamically allocated PTR-record, full set of parameters, non-default network view resource "infoblox_ptr_record" "rec5" { ptrdname = "rec5.example2.org" dns_view = "nondefault_dnsview2" network_view = "nondefault_netview" - ip_addr = "2002:1f93::5" + cidr = infoblox_ipv4_network.net2.cidr comment = "workstation #5" ttl = 300 # 5 minutes ext_attrs = jsonencode({