Skip to content

Commit

Permalink
fix: make cluster ID required field in eviction config
Browse files Browse the repository at this point in the history
  • Loading branch information
jansyk13 committed Aug 26, 2024
1 parent 86b2874 commit d7f14d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion castai/resource_eviction_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func resourceEvictionConfig() *schema.Resource {
Schema: map[string]*schema.Schema{
FieldClusterId: {
Type: schema.TypeString,
Optional: true,
Required: true,
ValidateDiagFunc: validation.ToDiagFunc(validation.IsUUID),
Description: "CAST AI cluster id.",
},
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/evictor_advanced_config.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d7f14d3

Please sign in to comment.