Skip to content

Commit

Permalink
Filter out account level params (Snowflake-Labs#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
funes79 authored and daniepett committed Feb 9, 2022
1 parent df48df5 commit c9fdfd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/resources/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ func ReadTask(d *schema.ResourceData, meta interface{}) error {
paramMap := map[string]interface{}{}
for _, param := range params {
log.Printf("[TRACE] %+v\n", param)
if param.Value == param.DefaultValue {
if param.Value == param.DefaultValue || param.Level == "ACCOUNT" {
continue
}

Expand Down

0 comments on commit c9fdfd4

Please sign in to comment.