Skip to content

Commit

Permalink
Import Lineage
Browse files Browse the repository at this point in the history
  • Loading branch information
raphink committed Aug 5, 2020
1 parent 39ce081 commit 0040619
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func (db *Database) stateS3toDB(sf *statefile.File, path string, versionID strin
Version: version,
TFVersion: sf.TerraformVersion.String(),
Serial: int64(sf.Serial),
Lineage: sf.Lineage,
}

for _, m := range sf.State.Modules {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
github.com/jessevdk/go-flags v1.4.0
github.com/jinzhu/gorm v1.9.11
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/lib/pq v1.3.0 // indirect
github.com/lib/pq v1.3.0
github.com/mitchellh/copystructure v1.0.0
github.com/mitchellh/reflectwalk v1.0.1 // indirect
github.com/pmezard/go-difflib v1.0.0
Expand Down

0 comments on commit 0040619

Please sign in to comment.