Skip to content

Commit ea2f652

Browse files
committed
add WAF logs to the log drains resource
1 parent c691a9c commit ea2f652

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

go.sum

-2
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,6 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug
310310
golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY=
311311
golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
312312
golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
313-
golang.org/x/oauth2 v0.22.0 h1:BzDx2FehcG7jJwgWLELCdmLuxk2i+x9UDpSiss2u0ZA=
314-
golang.org/x/oauth2 v0.22.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
315313
golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs=
316314
golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
317315
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=

internal/provider/log_drain_resource.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,10 @@ func (r *logDrainResource) Schema(_ context.Context, _ resource.SchemaRequest, r
147147
"log_types": schema.SetAttribute{
148148
Required: true,
149149
ElementType: types.StringType,
150-
Description: "One or more of user_traffic, functions, edge_functions, and deploys",
150+
Description: "One or more of user_traffic, functions, edge_functions, waf_logs, and deploys",
151151
Validators: []validator.Set{
152152
setvalidator.ValueStringsAre(
153-
stringvalidator.OneOf("user_traffic", "functions", "edge_functions", "deploys"),
153+
stringvalidator.OneOf("user_traffic", "functions", "edge_functions", "waf_logs", "deploys"),
154154
),
155155
},
156156
},

0 commit comments

Comments
 (0)