File tree Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -220,12 +220,13 @@ type StorageInfo struct {
220220
221221// InitScriptStorageInfo captures the allowed sources of init scripts.
222222type InitScriptStorageInfo struct {
223- Dbfs * DbfsStorageInfo `json:"dbfs,omitempty" tf:"group:storage"`
224- Gcs * GcsStorageInfo `json:"gcs,omitempty" tf:"group:storage"`
225- S3 * S3StorageInfo `json:"s3,omitempty" tf:"group:storage"`
226- Abfss * AbfssStorageInfo `json:"abfss,omitempty" tf:"group:storage"`
227- File * LocalFileInfo `json:"file,omitempty"`
228- Workspace * WorkspaceFileInfo `json:"workspace,omitempty"`
223+ Dbfs * DbfsStorageInfo `json:"dbfs,omitempty" tf:"group:storage"`
224+ Gcs * GcsStorageInfo `json:"gcs,omitempty" tf:"group:storage"`
225+ S3 * S3StorageInfo `json:"s3,omitempty" tf:"group:storage"`
226+ Abfss * AbfssStorageInfo `json:"abfss,omitempty" tf:"group:storage"`
227+ File * LocalFileInfo `json:"file,omitempty"`
228+ Workspace * WorkspaceFileInfo `json:"workspace,omitempty"`
229+ Volumes * compute.VolumesStorageInfo `json:"volumes,omitempty"`
229230}
230231
231232// SparkNodeAwsAttributes is the struct that determines if the node is a spot instance or not
Original file line number Diff line number Diff line change @@ -270,6 +270,16 @@ init_scripts {
270270}
271271```
272272
273+ Example of using a file from Unity Catalog Volume as init script:
274+
275+ ``` hcl
276+ init_scripts {
277+ volumes {
278+ destination = "/Volumes/Catalog/default/init-scripts/init-script.sh"
279+ }
280+ }
281+ ```
282+
273283Example of taking init script from DBFS (deprecated):
274284
275285``` hcl
You can’t perform that action at this time.
0 commit comments