From 038f5b6c29e5f7d25126b2838f52a9ce22e03ade Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Fri, 26 Aug 2022 19:29:14 +0000 Subject: [PATCH] Add behavior property to dns response policy (#6397) Signed-off-by: Modular Magician --- .changelog/6397.txt | 3 +++ website/docs/r/dns_response_policy.html.markdown | 4 ++-- website/docs/r/dns_response_policy_rule.html.markdown | 4 ++++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .changelog/6397.txt diff --git a/.changelog/6397.txt b/.changelog/6397.txt new file mode 100644 index 00000000000..8c8ac47720d --- /dev/null +++ b/.changelog/6397.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +dns: added `behavior` field to `dns_responsepolicy_rule` resource +``` diff --git a/website/docs/r/dns_response_policy.html.markdown b/website/docs/r/dns_response_policy.html.markdown index 7bedfa438cd..ac3b3aec5fe 100644 --- a/website/docs/r/dns_response_policy.html.markdown +++ b/website/docs/r/dns_response_policy.html.markdown @@ -15,13 +15,13 @@ subcategory: "Cloud DNS" page_title: "Google: google_dns_response_policy" description: |- - A Response Policy is a collection of selectors that apply to queries + A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks. --- # google\_dns\_response\_policy -A Response Policy is a collection of selectors that apply to queries +A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks. ~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider. diff --git a/website/docs/r/dns_response_policy_rule.html.markdown b/website/docs/r/dns_response_policy_rule.html.markdown index 052faf70aff..0657cd78d42 100644 --- a/website/docs/r/dns_response_policy_rule.html.markdown +++ b/website/docs/r/dns_response_policy_rule.html.markdown @@ -111,6 +111,10 @@ The following arguments are supported: in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed. Structure is [documented below](#nested_local_data). +* `behavior` - + (Optional) + Answer this query with a behavior rather than DNS data. Acceptable values are 'behaviorUnspecified', and 'bypassResponsePolicy' + * `project` - (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.