Skip to content

Commit a066846

Browse files
[CLOUDGA-32080] [Terraform] Make path prefix a required field
1 parent 5ff27ef commit a066846

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

managed/resource_integration.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,19 +307,21 @@ func (r resourceIntegrationType) getSchemaAttributes() map[string]tfsdk.Attribut
307307
Sensitive: true,
308308
},
309309
"path_prefix": {
310-
Description: "S3 path prefix for organizing objects (default: yugabyte-logs/)",
310+
Description: "S3 path prefix for organizing objects (Use '/' for root directory)",
311311
Type: types.StringType,
312-
Optional: true,
312+
Required: true,
313313
},
314314
"file_prefix": {
315-
Description: "Prefix for exported file names (default: yugabyte-logs)",
315+
Description: "Prefix for exported file names",
316316
Type: types.StringType,
317317
Optional: true,
318+
318319
},
319320
"partition_strategy": {
320321
Description: "Time-based partitioning: 'minute' or 'hour' (default: hour)",
321322
Type: types.StringType,
322323
Optional: true,
324+
Computed: true,
323325
Validators: []tfsdk.AttributeValidator{stringvalidator.OneOf("minute", "hour")},
324326
},
325327
}),

0 commit comments

Comments
 (0)