Skip to content

Commit 3ddc7c1

Browse files
Clarify description of filter_expr (#4161) (#2653)
Signed-off-by: Modular Magician <[email protected]>
1 parent b5b8a32 commit 3ddc7c1

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.changelog/4161.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:REPLACEME
2+
3+
```

google-beta/resource_compute_subnetwork.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ lasting connections. Default is an interval of 5 seconds per connection. Default
133133
Type: schema.TypeString,
134134
Optional: true,
135135
Description: `Export filter used to define which VPC flow logs should be logged, as as CEL expression. See
136-
https://cloud.google.com/vpc/docs/flow-logs#filtering for details on how to format this field.`,
136+
https://cloud.google.com/vpc/docs/flow-logs#filtering for details on how to format this field.
137+
The default value is 'true', which evaluates to include everything.`,
137138
Default: "true",
138139
AtLeastOneOf: []string{"log_config.0.aggregation_interval", "log_config.0.flow_sampling", "log_config.0.metadata", "log_config.0.filter_expr"},
139140
},

website/docs/r/compute_subnetwork.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ The `log_config` block supports:
279279
(Optional)
280280
Export filter used to define which VPC flow logs should be logged, as as CEL expression. See
281281
https://cloud.google.com/vpc/docs/flow-logs#filtering for details on how to format this field.
282+
The default value is 'true', which evaluates to include everything.
282283

283284
## Attributes Reference
284285

0 commit comments

Comments
 (0)