Skip to content

Commit

Permalink
Support Terraform v0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
raphink committed Aug 12, 2020
1 parent 36106f1 commit e0f260b
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 7 deletions.
4 changes: 2 additions & 2 deletions db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ func (db *Database) stateS3toDB(sf *statefile.File, path string, versionID strin
}
for _, r := range m.Resources {
res := types.Resource{
Type: r.Addr.Type,
Name: r.Addr.Name,
Type: r.Addr.Resource.Type,
Name: r.Addr.Resource.Name,
}

for _, i := range r.Instances {
Expand Down
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ go 1.13

require (
cloud.google.com/go v0.45.1
github.com/aws/aws-sdk-go v1.30.12
github.com/aws/aws-sdk-go v1.31.9
github.com/denisenkom/go-mssqldb v0.0.0-20190820223206-44cdfe8d8ba9 // indirect
github.com/hashicorp/go-tfe v0.8.1
github.com/hashicorp/go-version v1.2.0
github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect
github.com/hashicorp/terraform v0.12.29
github.com/hashicorp/terraform v0.13.0
github.com/hashicorp/terraform-svchost v0.0.0-20191119180714-d2e4933b9136 // indirect
github.com/jessevdk/go-flags v1.4.0
github.com/jinzhu/gorm v1.9.11
Expand All @@ -20,9 +20,9 @@ require (
github.com/pmezard/go-difflib v1.0.0
github.com/sirupsen/logrus v1.4.2
github.com/spf13/afero v1.2.2 // indirect
github.com/zclconf/go-cty v1.2.1
github.com/zclconf/go-cty v1.5.1
golang.org/x/lint v0.0.0-20200302205851-738671d3881b // indirect
golang.org/x/tools v0.0.0-20200724022722-7017fd6b1305 // indirect
golang.org/x/tools v0.0.0-20200811215021-48a8ffc5b207 // indirect
google.golang.org/api v0.9.0
gopkg.in/yaml.v2 v2.2.7
gopkg.in/yaml.v2 v2.2.8
)
Loading

0 comments on commit e0f260b

Please sign in to comment.