Describe the issue
dev:
resources:
schemas:
my_schema:
name: my_schema
catalog_name: my_catalog
lifecycle:
prevent_destroy: true
lifecycle configuration is omitted when running bundle deploy and bundle destroy commands. It does not appear in bundle state either
"resources.schemas.internal": {
"__id__": "my_catalog.my_schema",
"state": {
"catalog_name": "my_catalog",
"name": "my_schema"
}
As far as I understand, based on the acceptance tests, this is something that is intended to work.
Configuration
Please provide a minimal reproducible configuration for the issue
Steps to reproduce the behavior
- Include schema resource in the bundle
bundle deploy -t <target>
3.1. Inspect state from .databricks/bundle//resources.json
3.2. Removing the resource and re-deploying, the resource will be wiped when approved without the error documented in the acceptance test
Expected Behavior
Behavior should be same as in the acceptance test and intended.
Actual Behavior
Flag ignored.
OS and CLI version
Databricks CLI v0.279.0
Databricks CLI v0.295.0
Is this a regression?
--
Debug Logs
--
Describe the issue
lifecycleconfiguration is omitted when runningbundle deployandbundle destroycommands. It does not appear in bundle state eitherAs far as I understand, based on the acceptance tests, this is something that is intended to work.
Configuration
Please provide a minimal reproducible configuration for the issue
Steps to reproduce the behavior
bundle deploy -t <target>3.1. Inspect state from .databricks/bundle//resources.json
3.2. Removing the resource and re-deploying, the resource will be wiped when approved without the error documented in the acceptance test
Expected Behavior
Behavior should be same as in the acceptance test and intended.
Actual Behavior
Flag ignored.
OS and CLI version
Databricks CLI v0.279.0
Databricks CLI v0.295.0
Is this a regression?
--
Debug Logs
--