Skip to content

Commit 66f7119

Browse files
committed
rm redirect opts, will be separate pr
1 parent 8964995 commit 66f7119

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

internal/provider/route.go

-14
Original file line numberDiff line numberDiff line change
@@ -251,20 +251,6 @@ func (r *RouteResource) Schema(_ context.Context, _ resource.SchemaRequest, resp
251251
Description: "Enable Google Cloud serverless authentication.",
252252
Optional: true,
253253
},
254-
"redirect": schema.ObjectAttribute{
255-
Description: "Redirect configuration.",
256-
Optional: true,
257-
AttributeTypes: map[string]attr.Type{
258-
"host_redirect": types.StringType,
259-
"https_redirect": types.BoolType,
260-
"path_redirect": types.StringType,
261-
"prefix_rewrite": types.StringType,
262-
"response_code": types.Int64Type,
263-
"strip_query": types.BoolType,
264-
"scheme_redirect": types.StringType,
265-
"port_redirect": types.Int64Type,
266-
},
267-
},
268254
},
269255
}
270256
}

internal/provider/route_model.go

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ type RouteModel struct {
3838
Prefix types.String `tfsdk:"prefix"`
3939
PrefixRewrite types.String `tfsdk:"prefix_rewrite"`
4040
PreserveHostHeader types.Bool `tfsdk:"preserve_host_header"`
41-
Redirect types.Object `tfsdk:"redirect"`
4241
Regex types.String `tfsdk:"regex"`
4342
RegexPriorityOrder types.Int64 `tfsdk:"regex_priority_order"`
4443
RegexRewritePattern types.String `tfsdk:"regex_rewrite_pattern"`

0 commit comments

Comments
 (0)