Skip to content

Commit ddc5480

Browse files
Add behavior property to dns response policy (#6397) (#12407)
Signed-off-by: Modular Magician <[email protected]> Signed-off-by: Modular Magician <[email protected]>
1 parent 7d8357c commit ddc5480

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.changelog/6397.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
dns: added `behavior` field to `dns_responsepolicy_rule` resource
3+
```

website/docs/r/dns_response_policy.html.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
subcategory: "Cloud DNS"
1616
page_title: "Google: google_dns_response_policy"
1717
description: |-
18-
A Response Policy is a collection of selectors that apply to queries
18+
A Response Policy is a collection of selectors that apply to queries
1919
made against one or more Virtual Private Cloud networks.
2020
---
2121

2222
# google\_dns\_response\_policy
2323

24-
A Response Policy is a collection of selectors that apply to queries
24+
A Response Policy is a collection of selectors that apply to queries
2525
made against one or more Virtual Private Cloud networks.
2626

2727
~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.

website/docs/r/dns_response_policy_rule.html.markdown

+4
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ The following arguments are supported:
111111
in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed.
112112
Structure is [documented below](#nested_local_data).
113113

114+
* `behavior` -
115+
(Optional)
116+
Answer this query with a behavior rather than DNS data. Acceptable values are 'behaviorUnspecified', and 'bypassResponsePolicy'
117+
114118
* `project` - (Optional) The ID of the project in which the resource belongs.
115119
If it is not provided, the provider project is used.
116120

0 commit comments

Comments
 (0)