From ea8fc243916c504b7a793fd1715e84804dfb11a3 Mon Sep 17 00:00:00 2001 From: Sergey Kudriavtsev Date: Wed, 12 Apr 2023 15:17:34 +0200 Subject: [PATCH] fixing examples --- docs/resources/infoblox_ptr_record.md | 6 +++--- examples/resources/infoblox_ptr_record.tf | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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({