Skip to content

Commit

Permalink
TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
raphink committed Aug 16, 2017
1 parent 9fc4b57 commit 4d8b73d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compare/compare.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ func getResourceAttribute(res types.Resource, key string) (val string, err error
return "", fmt.Errorf("Could not find attribute %s for resource %s.%s", key, res.Type, res.Name)
}

// TODO: use terraform/command/format.State()
func formatResource(res types.Resource) (out string) {
out = fmt.Sprintf("resource \"%s\" \"%s\" {\n", res.Type, res.Name)
for _, attr := range resourceAttributes(res) {
Expand Down

0 comments on commit 4d8b73d

Please sign in to comment.