databricks-cli/bundle/deploy
shreyas-goenka fe32c46dc8
Make bundle deploy work if no resources are defined (#767)
## Changes

This PR sets "resource" to nil in the terraform representation if no
resources are defined in the bundle configuration. This solves two
problems:

1. Makes bundle deploy work without any resources specified. 
2. Previously if a `resources` block was removed after a deployment,
that would fail with an error. Now the resources would get destroyed as
expected.

Also removes `TerraformHasNoResources` which is no longer needed.

## Tests
New e2e tests.
2023-09-13 22:50:37 +00:00
..
files Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
lock Fix locker unlock for destroy (#492) 2023-06-19 15:57:25 +02:00
terraform Make bundle deploy work if no resources are defined (#767) 2023-09-13 22:50:37 +00:00