Skip to content

Commit

Permalink
fix: build plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
artaasadi committed Nov 12, 2024
1 parent 9644a99 commit fa98a71
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions steampipe/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package steampipe

import (
"context"
"github.com/opengovern/og-describer-aws/steampipe-plugin-aws/aws"
"strings"

"go.uber.org/zap"
Expand Down Expand Up @@ -32,12 +33,8 @@ func ExtractTableName(resourceType string) string {

}

// Plugin TODO
func Plugin() *plugin.Plugin {
// return steampipe plugin object
// Example:
// return aws.Plugin(buildContext())
return nil
return aws.Plugin(buildContext())
}

func ExtractTagsAndNames(logger *zap.Logger, plg *plugin.Plugin, resourceType string, source interface{}) (map[string]string, string, error) {
Expand Down

0 comments on commit fa98a71

Please sign in to comment.