Skip to content

Commit

Permalink
Filtering Views (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
alldoami committed Oct 25, 2019
1 parent be769b1 commit 3cc85a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/snowflake/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func (g ViewGenerator) createResources(viewList []view) []terraform_utils.Resour
var resources []terraform_utils.Resource
for _, view := range viewList {
//Snowflake internal schema that adds noice, filtering out
if view.SchemaName.String == "INFORMATION_SCHEMA" {
if view.SchemaName.String == "INFORMATION_SCHEMA" || view.DatabaseName.String == "SNOWFLAKE" {
continue
}
resources = append(resources, terraform_utils.NewSimpleResource(
Expand Down

0 comments on commit 3cc85a6

Please sign in to comment.