You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add back requireds on stripquery (#3443) (#2022)
* Add back requireds on stripquery
* Move required to terraform.yaml, add description on empty blocks'
* Fixed to preserve backwards compatibility
* Remove last default in description
* Default back to false in ansible urlmaps
Signed-off-by: Modular Magician <[email protected]>
* Remove notes on changelog about stripquery
Co-authored-by: The Magician <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,6 @@ IMPROVEMENTS:
14
14
* cloudfunctions: Added validation to label keys for `google_cloudfunctions_function` as API errors aren't useful. ([#2009](https://github.com/terraform-providers/terraform-provider-google-beta/pull/2009))
15
15
* compute: Added support for `stateful_disk` to both `google_compute_instance_group_manager` and `google_compute_region_instance_group_manager`. ([#2006](https://github.com/terraform-providers/terraform-provider-google-beta/pull/2006))
16
16
* compute: Added support for default URL redirects to `google_compute_url_map` and `google_compute_region_url_map` ([#1998](https://github.com/terraform-providers/terraform-provider-google-beta/pull/1998))
17
-
* compute: Made `google_compute_url_map` and `google_compute_region_url_map` field `strip_query` optional and default false ([#1986](https://github.com/terraform-providers/terraform-provider-google-beta/pull/1986))
18
17
* dataflow: Added `additional_experiments` field to `google_dataflow_job` ([#2005](https://github.com/terraform-providers/terraform-provider-google-beta/pull/2005))
19
18
* dns: Added `service_directory_config` field to`google_dns_managed_zone` ([#1976](https://github.com/terraform-providers/terraform-provider-google-beta/pull/1976))
20
19
* compute: Added update of `google_compute_backend_service` and `google_compute_backend_service` field `locality_lb_policy ([#2012](https://github.com/terraform-providers/terraform-provider-google-beta/pull/2012))
Copy file name to clipboardExpand all lines: google-beta/resource_compute_region_url_map.go
+25-25Lines changed: 25 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,14 @@ defaultRouteAction must not be set.`,
77
77
MaxItems: 1,
78
78
Elem: &schema.Resource{
79
79
Schema: map[string]*schema.Schema{
80
+
"strip_query": {
81
+
Type: schema.TypeBool,
82
+
Required: true,
83
+
Description: `If set to true, any accompanying query portion of the original URL is removed prior
84
+
to redirecting the request. If set to false, the query portion of the original URL is
85
+
retained.
86
+
This field is required to ensure an empty block is not set. The normal default value is false.`,
87
+
},
80
88
"host_redirect": {
81
89
Type: schema.TypeString,
82
90
Optional: true,
@@ -123,14 +131,6 @@ will be retained.
123
131
- PERMANENT_REDIRECT, which corresponds to 308. In this case,
124
132
the request method will be retained. Possible values: ["FOUND", "MOVED_PERMANENTLY_DEFAULT", "PERMANENT_REDIRECT", "SEE_OTHER", "TEMPORARY_REDIRECT"]`,
125
133
},
126
-
"strip_query": {
127
-
Type: schema.TypeBool,
128
-
Optional: true,
129
-
Description: `If set to true, any accompanying query portion of the original URL is removed prior
130
-
to redirecting the request. If set to false, the query portion of the original URL is
@@ -177,6 +177,14 @@ defaultRouteAction must not be set.`,
177
177
MaxItems: 1,
178
178
Elem: &schema.Resource{
179
179
Schema: map[string]*schema.Schema{
180
+
"strip_query": {
181
+
Type: schema.TypeBool,
182
+
Required: true,
183
+
Description: `If set to true, any accompanying query portion of the original URL is removed prior
184
+
to redirecting the request. If set to false, the query portion of the original URL is
185
+
retained.
186
+
This field is required to ensure an empty block is not set. The normal default value is false.`,
187
+
},
180
188
"host_redirect": {
181
189
Type: schema.TypeString,
182
190
Optional: true,
@@ -223,14 +231,6 @@ will be retained.
223
231
- PERMANENT_REDIRECT, which corresponds to 308. In this case,
224
232
the request method will be retained. Possible values: ["FOUND", "MOVED_PERMANENTLY_DEFAULT", "PERMANENT_REDIRECT", "SEE_OTHER", "TEMPORARY_REDIRECT"]`,
225
233
},
226
-
"strip_query": {
227
-
Type: schema.TypeBool,
228
-
Optional: true,
229
-
Description: `If set to true, any accompanying query portion of the original URL is removed prior
230
-
to redirecting the request. If set to false, the query portion of the original URL is
231
-
retained. The default is set to false.`,
232
-
Default: false,
233
-
},
234
234
},
235
235
},
236
236
ExactlyOneOf: []string{},
@@ -706,6 +706,14 @@ be set.`,
706
706
MaxItems: 1,
707
707
Elem: &schema.Resource{
708
708
Schema: map[string]*schema.Schema{
709
+
"strip_query": {
710
+
Type: schema.TypeBool,
711
+
Required: true,
712
+
Description: `If set to true, any accompanying query portion of the original URL is removed
713
+
prior to redirecting the request. If set to false, the query portion of the
714
+
original URL is retained.
715
+
This field is required to ensure an empty block is not set. The normal default value is false.`,
716
+
},
709
717
"host_redirect": {
710
718
Type: schema.TypeString,
711
719
Optional: true,
@@ -755,14 +763,6 @@ will be retained.
755
763
- PERMANENT_REDIRECT, which corresponds to 308. In this case,
756
764
the request method will be retained. Possible values: ["FOUND", "MOVED_PERMANENTLY_DEFAULT", "PERMANENT_REDIRECT", "SEE_OTHER", "TEMPORARY_REDIRECT"]`,
757
765
},
758
-
"strip_query": {
759
-
Type: schema.TypeBool,
760
-
Optional: true,
761
-
Description: `If set to true, any accompanying query portion of the original URL is removed
762
-
prior to redirecting the request. If set to false, the query portion of the
763
-
original URL is retained.`,
764
-
Default: false,
765
-
},
766
766
},
767
767
},
768
768
},
@@ -1605,7 +1605,7 @@ the request method will be retained. Possible values: ["FOUND", "MOVED_PERMANENT
1605
1605
Optional: true,
1606
1606
Description: `If set to true, any accompanying query portion of the original URL is
1607
1607
removed prior to redirecting the request. If set to false, the query
1608
-
portion of the original URL is retained. The default is set to false.`,
1608
+
portion of the original URL is retained. The default value is false.`,
Copy file name to clipboardExpand all lines: google-beta/resource_compute_url_map.go
+24-24Lines changed: 24 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,14 @@ defaultRouteAction must not be set.`,
70
70
MaxItems: 1,
71
71
Elem: &schema.Resource{
72
72
Schema: map[string]*schema.Schema{
73
+
"strip_query": {
74
+
Type: schema.TypeBool,
75
+
Required: true,
76
+
Description: `If set to true, any accompanying query portion of the original URL is removed prior
77
+
to redirecting the request. If set to false, the query portion of the original URL is
78
+
retained. The default is set to false.
79
+
This field is required to ensure an empty block is not set. The normal default value is false.`,
80
+
},
73
81
"host_redirect": {
74
82
Type: schema.TypeString,
75
83
Optional: true,
@@ -116,14 +124,6 @@ will be retained.
116
124
- PERMANENT_REDIRECT, which corresponds to 308. In this case,
117
125
the request method will be retained. Possible values: ["FOUND", "MOVED_PERMANENTLY_DEFAULT", "PERMANENT_REDIRECT", "SEE_OTHER", "TEMPORARY_REDIRECT"]`,
118
126
},
119
-
"strip_query": {
120
-
Type: schema.TypeBool,
121
-
Optional: true,
122
-
Description: `If set to true, any accompanying query portion of the original URL is removed prior
123
-
to redirecting the request. If set to false, the query portion of the original URL is
@@ -255,6 +255,14 @@ defaultRouteAction must not be set.`,
255
255
MaxItems: 1,
256
256
Elem: &schema.Resource{
257
257
Schema: map[string]*schema.Schema{
258
+
"strip_query": {
259
+
Type: schema.TypeBool,
260
+
Required: true,
261
+
Description: `If set to true, any accompanying query portion of the original URL is removed prior
262
+
to redirecting the request. If set to false, the query portion of the original URL is
263
+
retained.
264
+
This field is required to ensure an empty block is not set. The normal default value is false.`,
265
+
},
258
266
"host_redirect": {
259
267
Type: schema.TypeString,
260
268
Optional: true,
@@ -301,14 +309,6 @@ will be retained.
301
309
- PERMANENT_REDIRECT, which corresponds to 308. In this case,
302
310
the request method will be retained. Possible values: ["FOUND", "MOVED_PERMANENTLY_DEFAULT", "PERMANENT_REDIRECT", "SEE_OTHER", "TEMPORARY_REDIRECT"]`,
303
311
},
304
-
"strip_query": {
305
-
Type: schema.TypeBool,
306
-
Optional: true,
307
-
Description: `If set to true, any accompanying query portion of the original URL is removed prior
308
-
to redirecting the request. If set to false, the query portion of the original URL is
309
-
retained. The default is set to false.`,
310
-
Default: false,
311
-
},
312
312
},
313
313
},
314
314
ExactlyOneOf: []string{},
@@ -862,6 +862,14 @@ be set.`,
862
862
MaxItems: 1,
863
863
Elem: &schema.Resource{
864
864
Schema: map[string]*schema.Schema{
865
+
"strip_query": {
866
+
Type: schema.TypeBool,
867
+
Required: true,
868
+
Description: `If set to true, any accompanying query portion of the original URL is
869
+
removed prior to redirecting the request. If set to false, the query
870
+
portion of the original URL is retained.
871
+
This field is required to ensure an empty block is not set. The normal default value is false.`,
872
+
},
865
873
"host_redirect": {
866
874
Type: schema.TypeString,
867
875
Optional: true,
@@ -911,14 +919,6 @@ will be retained.
911
919
- PERMANENT_REDIRECT, which corresponds to 308. In this case,
912
920
the request method will be retained. Possible values: ["FOUND", "MOVED_PERMANENTLY_DEFAULT", "PERMANENT_REDIRECT", "SEE_OTHER", "TEMPORARY_REDIRECT"]`,
913
921
},
914
-
"strip_query": {
915
-
Type: schema.TypeBool,
916
-
Optional: true,
917
-
Description: `If set to true, any accompanying query portion of the original URL is
918
-
removed prior to redirecting the request. If set to false, the query
919
-
portion of the original URL is retained. The default is set to false.`,
0 commit comments