mirror of https://github.com/databricks/cli.git
fe32c46dc8
## 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. |
||
---|---|---|
.. | ||
apply.go | ||
convert.go | ||
convert_test.go | ||
destroy.go | ||
dir.go | ||
init.go | ||
init_test.go | ||
interpolate.go | ||
load.go | ||
load_test.go | ||
pkg.go | ||
plan.go | ||
state_pull.go | ||
state_push.go | ||
util.go | ||
util_test.go | ||
write.go |