From f2aac83bc938946c0b08dd9dedc0480d4e9079e8 Mon Sep 17 00:00:00 2001 From: The Magician Date: Fri, 12 Jan 2024 10:06:30 -0800 Subject: [PATCH] Upgrade DCL to 1.61.0 (#9807) (#16988) [upstream:37a849b68960966a4ca9dab2d87476137d2b096b] Signed-off-by: Modular Magician --- .changelog/9807.txt | 3 +++ go.mod | 2 +- go.sum | 6 ++---- .../services/orgpolicy/resource_org_policy_policy.go | 12 ++++++------ website/docs/r/org_policy_policy.html.markdown | 12 ++++++------ 5 files changed, 18 insertions(+), 17 deletions(-) create mode 100644 .changelog/9807.txt diff --git a/.changelog/9807.txt b/.changelog/9807.txt new file mode 100644 index 00000000000..b8e7bb12ebb --- /dev/null +++ b/.changelog/9807.txt @@ -0,0 +1,3 @@ +```release-note:none +doc: updated documentation for `allow_all`, `deny_all` and `enforce` fields in `google_org_policy_policy` resource +``` diff --git a/go.mod b/go.mod index 17dff1b6b79..ff729f3bf44 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ go 1.20 require ( cloud.google.com/go/bigtable v1.19.0 - github.com/GoogleCloudPlatform/declarative-resource-client-library v1.60.0 + github.com/GoogleCloudPlatform/declarative-resource-client-library v1.61.0 github.com/apparentlymart/go-cidr v1.1.0 github.com/davecgh/go-spew v1.1.1 github.com/dnaeon/go-vcr v1.0.1 diff --git a/go.sum b/go.sum index b4e6b64d0b3..ed75d63a1c7 100644 --- a/go.sum +++ b/go.sum @@ -15,8 +15,6 @@ cloud.google.com/go/iam v1.1.5/go.mod h1:rB6P/Ic3mykPbFio+vo7403drjlgvoWfYpJhMXE cloud.google.com/go/longrunning v0.5.4 h1:w8xEcbZodnA2BbW6sVirkkoC+1gP8wS57EUUgGS0GVg= cloud.google.com/go/longrunning v0.5.4/go.mod h1:zqNVncI0BOP8ST6XQD1+VcvuShMmq7+xFSzOL++V0dI= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/GoogleCloudPlatform/declarative-resource-client-library v1.59.0 h1:jL4ac+IUrVftmfduFslaMXWj9ENuiXEiwZFw3U5ikUA= -github.com/GoogleCloudPlatform/declarative-resource-client-library v1.59.0/go.mod h1:pL2Qt5HT+x6xrTd806oMiM3awW6kNIXB/iiuClz6m6k= github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= github.com/Microsoft/go-winio v0.4.16 h1:FtSW/jqD+l4ba5iPBj9CODVtgfYAD8w2wS923g/cFDk= github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= @@ -460,5 +458,5 @@ gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= rsc.io/binaryregexp v0.2.0 h1:HfqmD5MEmC0zvwBuF187nq9mdnXjXsSivRiXN7SmRkE= -github.com/GoogleCloudPlatform/declarative-resource-client-library v1.60.0 h1:RFZs9I3tXewC7cJf8RKbUMpQZO6jWZ9SHSnNd+auxsQ= -github.com/GoogleCloudPlatform/declarative-resource-client-library v1.60.0/go.mod h1:pL2Qt5HT+x6xrTd806oMiM3awW6kNIXB/iiuClz6m6k= +github.com/GoogleCloudPlatform/declarative-resource-client-library v1.61.0 h1:IAr9UlYbxURIYABRMagXXo8pDlkFNFFXWz5J2+srrnc= +github.com/GoogleCloudPlatform/declarative-resource-client-library v1.61.0/go.mod h1:pL2Qt5HT+x6xrTd806oMiM3awW6kNIXB/iiuClz6m6k= \ No newline at end of file diff --git a/google/services/orgpolicy/resource_org_policy_policy.go b/google/services/orgpolicy/resource_org_policy_policy.go index f77a12e176c..8dfff02f838 100644 --- a/google/services/orgpolicy/resource_org_policy_policy.go +++ b/google/services/orgpolicy/resource_org_policy_policy.go @@ -135,7 +135,7 @@ func OrgPolicyPolicyDryRunSpecRulesSchema() *schema.Resource { "allow_all": { Type: schema.TypeString, Optional: true, - Description: "Setting this to true means that all values are allowed. This field can be set only in policies for list constraints.", + Description: "Setting this to `\"TRUE\"` means that all values are allowed. This field can be set only in policies for list constraints.", }, "condition": { @@ -149,13 +149,13 @@ func OrgPolicyPolicyDryRunSpecRulesSchema() *schema.Resource { "deny_all": { Type: schema.TypeString, Optional: true, - Description: "Setting this to true means that all values are denied. This field can be set only in policies for list constraints.", + Description: "Setting this to `\"TRUE\"` means that all values are denied. This field can be set only in policies for list constraints.", }, "enforce": { Type: schema.TypeString, Optional: true, - Description: "If `true`, then the policy is enforced. If `false`, then any configuration is acceptable. This field can be set only in policies for boolean constraints.", + Description: "If `\"TRUE\"`, then the policy is enforced. If `\"FALSE\"`, then any configuration is acceptable. This field can be set only in policies for boolean constraints.", }, "values": { @@ -262,7 +262,7 @@ func OrgPolicyPolicySpecRulesSchema() *schema.Resource { "allow_all": { Type: schema.TypeString, Optional: true, - Description: "Setting this to true means that all values are allowed. This field can be set only in Policies for list constraints.", + Description: "Setting this to `\"TRUE\"` means that all values are allowed. This field can be set only in Policies for list constraints.", }, "condition": { @@ -276,13 +276,13 @@ func OrgPolicyPolicySpecRulesSchema() *schema.Resource { "deny_all": { Type: schema.TypeString, Optional: true, - Description: "Setting this to true means that all values are denied. This field can be set only in Policies for list constraints.", + Description: "Setting this to `\"TRUE\"` means that all values are denied. This field can be set only in Policies for list constraints.", }, "enforce": { Type: schema.TypeString, Optional: true, - Description: "If `true`, then the `Policy` is enforced. If `false`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.", + Description: "If `\"TRUE\"`, then the `Policy` is enforced. If `\"FALSE\"`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.", }, "values": { diff --git a/website/docs/r/org_policy_policy.html.markdown b/website/docs/r/org_policy_policy.html.markdown index 3bf9b4a38fd..c737cb76512 100644 --- a/website/docs/r/org_policy_policy.html.markdown +++ b/website/docs/r/org_policy_policy.html.markdown @@ -205,7 +205,7 @@ The `rules` block supports: * `allow_all` - (Optional) - Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. + Setting this to `"TRUE"` means that all values are allowed. This field can be set only in policies for list constraints. * `condition` - (Optional) @@ -213,11 +213,11 @@ The `rules` block supports: * `deny_all` - (Optional) - Setting this to true means that all values are denied. This field can be set only in policies for list constraints. + Setting this to `"TRUE"` means that all values are denied. This field can be set only in policies for list constraints. * `enforce` - (Optional) - If `true`, then the policy is enforced. If `false`, then any configuration is acceptable. This field can be set only in policies for boolean constraints. + If `"TRUE"`, then the policy is enforced. If `"FALSE"`, then any configuration is acceptable. This field can be set only in policies for boolean constraints. * `values` - (Optional) @@ -275,7 +275,7 @@ The `rules` block supports: * `allow_all` - (Optional) - Setting this to true means that all values are allowed. This field can be set only in Policies for list constraints. + Setting this to `"TRUE"` means that all values are allowed. This field can be set only in Policies for list constraints. * `condition` - (Optional) @@ -283,11 +283,11 @@ The `rules` block supports: * `deny_all` - (Optional) - Setting this to true means that all values are denied. This field can be set only in Policies for list constraints. + Setting this to `"TRUE"` means that all values are denied. This field can be set only in Policies for list constraints. * `enforce` - (Optional) - If `true`, then the `Policy` is enforced. If `false`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints. + If `"TRUE"`, then the `Policy` is enforced. If `"FALSE"`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints. * `values` - (Optional)