Skip to content

Commit c8a4813

Browse files
authored
Fix databricks_sql_endpoint timeout propagation (#1159)
Previously, `timeout` meta-block was documented, but resulting in error. It was due to `Timeouts: &schema.ResourceTimeout` not added on resource. Fixes #1142
1 parent e2203b1 commit c8a4813

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sql/resource_sql_endpoint.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ func ResourceSQLEndpoint() *schema.Resource {
202202
return m
203203
})
204204
return common.Resource{
205+
Timeouts: &schema.ResourceTimeout{
206+
Create: schema.DefaultTimeout(30 * time.Minute),
207+
},
205208
Create: func(ctx context.Context, d *schema.ResourceData, c *common.DatabricksClient) error {
206209
var se SQLEndpoint
207210
common.DataToStructPointer(d, s, &se)

0 commit comments

Comments
 (0)