diff --git a/bundle/deploy/apps/deploy.go b/bundle/deploy/apps/deploy.go index fa992a76..ff4cfa51 100644 --- a/bundle/deploy/apps/deploy.go +++ b/bundle/deploy/apps/deploy.go @@ -6,7 +6,6 @@ import ( "fmt" "path" "path/filepath" - "time" "github.com/databricks/cli/bundle" "github.com/databricks/cli/bundle/config/resources" @@ -20,8 +19,6 @@ import ( "gopkg.in/yaml.v3" ) -const deployTimeout = 20 * time.Minute - type appsDeploy struct { filerFactory deploy.FilerFactory } diff --git a/bundle/deploy/terraform/tfdyn/convert_app.go b/bundle/deploy/terraform/tfdyn/convert_app.go index 1a03d23e..621dc4e4 100644 --- a/bundle/deploy/terraform/tfdyn/convert_app.go +++ b/bundle/deploy/terraform/tfdyn/convert_app.go @@ -33,6 +33,10 @@ func (appConverter) Convert(ctx context.Context, key string, vin dyn.Value, out "resources": "resource", }) + if err != nil { + return err + } + // Add the converted resource to the output. out.App[key] = vout.AsAny()