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
[Feature] Proper support for file events for databricks_external_location (#4749)
## Changes
<!-- Summary of your changes that are easy to understand -->
Proper support of file events requires customization and additional
workarounds for API problems.
Resolves#4747, resolves#4748
## Tests
<!--
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->
- [x] `make test` run locally
- [x] relevant change in `docs/` folder
- [ ] covered with integration tests in `internal/acceptance`
- [x] using Go SDK
- [ ] using TF Plugin Framework
Copy file name to clipboardExpand all lines: NEXT_CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@
6
6
7
7
### New Features and Improvements
8
8
9
+
* Support configuration of file events in `databricks_external_location`[#4749](https://github.com/databricks/terraform-provider-databricks/pull/4749).
10
+
9
11
### Bug Fixes
10
12
11
13
* Populate `partitions` when reading `databricks_sql_table` ([#4674](https://github.com/databricks/terraform-provider-databricks/pull/4674)).
Copy file name to clipboardExpand all lines: docs/resources/external_location.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,12 +126,33 @@ The following arguments are required:
126
126
-`skip_validation` - (Optional) Suppress validation errors if any & force save the external location
127
127
-`fallback` - (Optional) Indicates whether fallback mode is enabled for this external location. When fallback mode is enabled (disabled by default), the access to the location falls back to cluster credentials if UC credentials are not sufficient.
128
128
-`read_only` - (Optional) Indicates whether the external location is read-only.
129
+
-`enable_file_events` - (Optional) indicates if managed file events are enabled for this external location. Requires `file_event_queue` block.
129
130
-`force_destroy` - (Optional) Destroy external location regardless of its dependents.
130
131
-`force_update` - (Optional) Update external location regardless of its dependents.
131
132
-`access_point` - (Optional) The ARN of the s3 access point to use with the external location (AWS).
132
133
-`encryption_details` - (Optional) The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS).
133
134
-`isolation_mode` - (Optional) Whether the external location is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the external location to `ISOLATION_MODE_ISOLATED` will automatically allow access from the current workspace.
134
135
136
+
### file_event_queue block
137
+
138
+
The `file_event_queue` block supports the following:
139
+
140
+
-`managed_pubsub` - (Optional) Configuration for managed Google Cloud Pub/Sub queue.
141
+
-`managed_resource_id` - (Computed) The ID of the managed resource.
142
+
-`managed_aqs` - (Optional) Configuration for managed Azure Queue Storage queue.
143
+
-`managed_resource_id` - (Computed) The ID of the managed resource.
144
+
-`resource_group` - (Required) The Azure resource group.
145
+
-`subscription_id` - (Required) The Azure subscription ID.
146
+
-`managed_sqs` - (Optional) Configuration for managed Amazon SQS queue.
147
+
-`managed_resource_id` - (Computed) The ID of the managed resource.
148
+
-`provided_pubsub` - (Optional) Configuration for provided Google Cloud Pub/Sub queue.
149
+
-`subscription_name` - (Required) The name of the subscription.
150
+
-`provided_aqs` - (Optional) Configuration for provided Azure Storage Queue.
151
+
-`queue_url` - (Required) The URL of the queue.
152
+
-`provided_sqs` - (Optional) Configuration for provided Amazon SQS queue.
153
+
-`queue_url` - (Required) The URL of the SQS queue.
154
+
155
+
135
156
## Attribute Reference
136
157
137
158
In addition to all arguments above, the following attributes are exported:
0 commit comments