Skip to content

Commit

Permalink
Resolve 4.0 TODOs Kusto
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattfry committed Jan 16, 2025
1 parent 33c15ec commit 9dc4b66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ func resourceKustoAttachedDatabaseConfiguration() *pluginsdk.Resource {
ValidateFunc: validation.Any(validate.DatabaseName, validation.StringInSlice([]string{"*"}, false)),
},

// TODO: this should become `cluster_id` in 4.0
"cluster_resource_id": {
"cluster_id": {
Type: pluginsdk.TypeString,
Required: true,
ForceNew: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,13 @@ func resourceKustoEventGridDataConnection() *pluginsdk.Resource {
ValidateFunc: validation.StringInSlice(dataconnections.PossibleValuesForDatabaseRouting(), false),
},

// TODO: rename this to `eventgrid_event_subscription_id` in 4.0
"eventgrid_resource_id": {
"eventgrid_event_subscription_id": {
Type: pluginsdk.TypeString,
Optional: true,
ValidateFunc: eventsubscriptions.ValidateScopedEventSubscriptionID,
},

// TODO: rename this to `managed_identity_id` in 4.0
"managed_identity_resource_id": {
"managed_identity_id": {
Type: pluginsdk.TypeString,
Optional: true,
ValidateFunc: validation.Any(
Expand Down

0 comments on commit 9dc4b66

Please sign in to comment.