File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
internal/services/workers_route Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 1739
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-b703804ec51b092cdb8f680f7afccdd9623219207156ccdc5f31b1a3599178ef .yml
3
- openapi_spec_hash : 2e5f51ee368408895edaa6eb63921ebf
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-860d686b9ba8ed4d6c414bc93efbe53f1ac1b561676e2a3c2e3d0f9365ac51f7 .yml
3
+ openapi_spec_hash : 8231937451a371976d0602420017941a
4
4
config_hash : 7e270b3449efce600e3469937a344c2d
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type WorkersRouteModel struct {
15
15
ID types.String `tfsdk:"id" json:"id,computed"`
16
16
ZoneID types.String `tfsdk:"zone_id" path:"zone_id,required"`
17
17
Pattern types.String `tfsdk:"pattern" json:"pattern,required"`
18
- Script types.String `tfsdk:"script" json:"script,required "`
18
+ Script types.String `tfsdk:"script" json:"script,optional "`
19
19
}
20
20
21
21
func (m WorkersRouteModel ) MarshalJSON () (data []byte , err error ) {
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ func ResourceSchema(ctx context.Context) schema.Schema {
32
32
},
33
33
"script" : schema.StringAttribute {
34
34
Description : "Name of the script to run if the route matches." ,
35
- Required : true ,
35
+ Optional : true ,
36
36
},
37
37
},
38
38
}
You can’t perform that action at this time.
0 commit comments