GlobalInitScript
laktory.models.resources.databricks.GlobalInitScript
¤
Bases: GlobalInitScriptBase
Databricks Global Init Script
Examples:
import io
from laktory import models
script_yaml = '''
name: my-init-script
content_base64: ZWNobyAiaGVsbG8gd29ybGQi
enabled: true
'''
script = models.resources.databricks.GlobalInitScript.model_validate_yaml(
io.StringIO(script_yaml)
)
References
| BASE | DESCRIPTION |
|---|---|
content_base64
|
The base64-encoded source code global init script. Conflicts with
TYPE:
|
enabled
|
specifies if the script is enabled for execution, or not
TYPE:
|
md5
|
TYPE:
|
name
|
the name of the script. It should be unique
TYPE:
|
position
|
the position of a global init script, where
TYPE:
|
source
|
Path to script's source code on local filesystem. Conflicts with
TYPE:
|
timeouts
|
TYPE:
|