Skip to content

Commit

Permalink
Make a few options required (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
HuwCampbell authored Mar 13, 2024
2 parents 1e6e184 + b724d24 commit 1d27850
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/resource_feature_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func ResourceFeatureStore() *schema.Resource {
},
"destination": {
Type: schema.TypeList,
Optional: true,
Required: true,
Elem: destinationSchema(),
},
"cluster": {
Expand Down
2 changes: 1 addition & 1 deletion client/resource_metrics_job.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func ResourceMetricsJob() *schema.Resource {
},
"destination": {
Type: schema.TypeList,
Optional: true,
Required: true,
Elem: destinationSchema(),
},
"cluster": {
Expand Down
2 changes: 1 addition & 1 deletion client/schedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func dailyScheduleSchema() *schema.Resource {
Schema: map[string]*schema.Schema{
"start_time_of_day": {
Type: schema.TypeString,
Optional: true,
Required: true,
ValidateFunc: validation.StringIsNotWhiteSpace,
},
"fixed_retry_policy": {
Expand Down

0 comments on commit 1d27850

Please sign in to comment.