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
Document encryption_details block in databricks_external_location resource and data source (#4849)
## Changes
<!-- Summary of your changes that are easy to understand -->
Should be merged after #4844
## Tests
<!--
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->
- [x] relevant change in `docs/` folder
- [x] has entry in `NEXT_CHANGELOG.md` file
---------
Co-authored-by: vuong-nguyen <[email protected]>
Copy file name to clipboardExpand all lines: NEXT_CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@
24
24
* Update documentation for single-node clusters in `databricks_cluster` resource ([#4817](https://github.com/databricks/terraform-provider-databricks/pull/4817)).
25
25
* Update GCP example for `databricks_external_location` resource ([#4826](https://github.com/databricks/terraform-provider-databricks/pull/4826))
26
26
* Fix formatting for HTTP connection example in `databricks_connection` resource ([#4826](https://github.com/databricks/terraform-provider-databricks/pull/4826))
27
+
* Document `encryption_details` block in `databricks_external_location` resource and data source ([#4849](https://github.com/databricks/terraform-provider-databricks/pull/4849))
Copy file name to clipboardExpand all lines: docs/data-sources/external_location.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,10 @@ This data source exports the following attributes:
43
43
*`updated_at` - Time at which this catalog was last modified, in epoch milliseconds.
44
44
*`updated_by` - Username of user who last modified catalog.
45
45
*`access_point` - The ARN of the s3 access point to use with the external location (AWS).
46
-
*`encryption_details` - The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS).
46
+
*`encryption_details` - A block describing encryption options that apply to clients connecting to cloud storage. Consisting of the following attributes:
47
+
*`sse_encryption_details` - a block describing server-Side Encryption properties for clients communicating with AWS S3. Consists of the following attributes:
48
+
*`algorithm` - Encryption algorithm value. Sets the value of the `x-amz-server-side-encryption` header in S3 request.
49
+
*`aws_kms_key_arn` - ARN of the SSE-KMS key used with the S3 location, when `algorithm = "SSE-KMS"`.
Copy file name to clipboardExpand all lines: docs/resources/external_location.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,9 +138,16 @@ The following arguments are required:
138
138
-`force_destroy` - (Optional) Destroy external location regardless of its dependents.
139
139
-`force_update` - (Optional) Update external location regardless of its dependents.
140
140
-`access_point` - (Optional) The ARN of the s3 access point to use with the external location (AWS).
141
-
-`encryption_details` - (Optional) The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS).
142
141
-`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.
143
142
143
+
### encryption_details block
144
+
145
+
A block describing encryption options that apply to clients connecting to cloud storage. Consisting of the following attributes
146
+
147
+
-`sse_encryption_details` - a block describing server-Side Encryption properties for clients communicating with AWS S3. Consists of the following attributes:
148
+
-`algorithm` - Encryption algorithm value. Sets the value of the `x-amz-server-side-encryption` header in S3 request.
149
+
-`aws_kms_key_arn` - Optional ARN of the SSE-KMS key used with the S3 location, when `algorithm = "SSE-KMS"`. Sets the value of the `x-amz-server-side-encryption-aws-kms-key-id` header.
150
+
144
151
### file_event_queue block
145
152
146
153
The `file_event_queue` block supports the following:
@@ -160,7 +167,6 @@ The `file_event_queue` block supports the following:
160
167
-`provided_sqs` - (Optional) Configuration for provided Amazon SQS queue.
161
168
-`queue_url` - (Required) The URL of the SQS queue.
162
169
163
-
164
170
## Attribute Reference
165
171
166
172
In addition to all arguments above, the following attributes are exported:
0 commit comments