You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecate schedule block in databricks_sql_query resource (#2078)
* [REDASH-4424] Add deprecation note to databricks_sql_query terraform resource docs
* add Deprecated: note
* Set Deprecated flag to true in the Query's StructToSchema block.
* Update test
In case you see `Error: cannot create sql query: Internal Server Error` during `terraform apply`; double check that you are using the correct [`data_source_id`](sql_endpoint.md)
108
102
103
+
Operations on `databricks_sql_query` schedules are ⛔️ deprecated. You can create, update or delete a schedule for SQLA and other Databricks resources using the [databricks_job](job.md#sql_task-configuration-block) resource.
104
+
109
105
## Related Resources
110
106
111
107
The following resources are often used in the same context:
@@ -115,3 +111,4 @@ The following resources are often used in the same context:
115
111
*[databricks_sql_endpoint](sql_endpoint.md) to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html).
116
112
*[databricks_sql_global_config](sql_global_config.md) to configure the security policy, [databricks_instance_profile](instance_profile.md), and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all [databricks_sql_endpoint](sql_endpoint.md) of workspace.
117
113
*[databricks_sql_permissions](sql_permissions.md) to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and [more](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html).
114
+
*[databricks_job](job.md#sql_task-configuration-block) to schedule Databricks SQL queries (as well as dashboards and alerts) using Databricks Jobs.
m["schedule"].Deprecated="Operations on `databricks_sql_query` schedules are deprecated. Please use `databricks_job` resource to schedule a `sql_task`."
511
517
schedule:=m["schedule"].Elem.(*schema.Resource)
512
518
513
519
// Make different query schedule types mutually exclusive.
0 commit comments