Skip to content

Commit

Permalink
Merge pull request #204 from fujiwara/tfstate-lookup-v0.4.2
Browse files Browse the repository at this point in the history
Tfstate lookup v0.4.2
  • Loading branch information
fujiwara authored Dec 14, 2021
2 parents b37d9ba + de780f5 commit c1822bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ func (app *App) Diff(opt DiffOption) error {
newJSON, _ := marshalJSON(newFunc)

if ds := diff.Diff(string(latestJSON), string(newJSON)); ds != "" {
fmt.Println(color.RedString("---", app.functionArn(name)))
fmt.Println(color.GreenString("+++", *opt.FunctionFilePath))
fmt.Println(color.RedString("---" + app.functionArn(name)))
fmt.Println(color.GreenString("+++" + *opt.FunctionFilePath))
fmt.Println(coloredDiff(ds))
}
return nil
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/aws/aws-sdk-go v1.40.52
github.com/fatih/color v1.13.0
github.com/fujiwara/logutils v1.1.0
github.com/fujiwara/tfstate-lookup v0.4.0
github.com/fujiwara/tfstate-lookup v0.4.2
github.com/go-test/deep v1.0.7
github.com/google/go-jsonnet v0.17.0
github.com/hashicorp/go-envparse v0.0.0-20200406174449-d9cfd743a15e
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ github.com/form3tech-oss/jwt-go v3.2.2+incompatible h1:TcekIExNqud5crz4xD2pavyTg
github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k=
github.com/fujiwara/logutils v1.1.0 h1:JAYmqW40d/ZjzouB01sfZiaTxwNe4hwmB6lLajZqm1s=
github.com/fujiwara/logutils v1.1.0/go.mod h1:pdb/Uk70rjQWEmFm/OvYH7OG8meZt1fEIqC0qZbvro4=
github.com/fujiwara/tfstate-lookup v0.4.0 h1:AaubXvolethCndWpZ+c/Sibm6J4SCIlSxcxvn6cYon4=
github.com/fujiwara/tfstate-lookup v0.4.0/go.mod h1:F56Bz3W497ZJA0ijFLVgcYeAVuhtbzvV6/hMtu6f2Ek=
github.com/fujiwara/tfstate-lookup v0.4.2 h1:RmhlHIMLVqNWHxaBasap+L5LO7pKorAbpIVQrktYCzY=
github.com/fujiwara/tfstate-lookup v0.4.2/go.mod h1:F56Bz3W497ZJA0ijFLVgcYeAVuhtbzvV6/hMtu6f2Ek=
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
Expand Down

0 comments on commit c1822bf

Please sign in to comment.