Skip to content

Commit 94ba0b8

Browse files
committed
fix lint and test
1 parent cd96cd7 commit 94ba0b8

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

acceptance/bundle/resources/apps/lifecycle-started-terraform-error/out.test.toml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Local = true
22
Cloud = true
3+
RecordRequests = false
34

45
[EnvMatrix]
56
DATABRICKS_BUNDLE_ENGINE = ["terraform"]

bundle/direct/dresources/app.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,11 @@ func (*ResourceApp) PrepareState(input *resources.App) *AppState {
6464
func (*ResourceApp) RemapState(remote *apps.App) *AppState {
6565
started := !isComputeStopped(remote)
6666
return &AppState{
67-
App: *remote,
68-
Started: &started,
67+
App: *remote,
68+
Started: &started,
69+
SourceCodePath: "",
70+
Config: &resources.AppConfig{},
71+
GitSource: &apps.GitSource{},
6972
}
7073
}
7174

0 commit comments

Comments
 (0)