Merge pull request #9997 from BedeGaming/azurerm-configure-panic
provider/azurerm: move ConfigureFunc outside of Provider literal, fixes nil reference
This commit is contained in:
commit
064691b03c
|
@ -107,9 +107,10 @@ func Provider() terraform.ResourceProvider {
|
|||
"azurerm_sql_firewall_rule": resourceArmSqlFirewallRule(),
|
||||
"azurerm_sql_server": resourceArmSqlServer(),
|
||||
},
|
||||
ConfigureFunc: providerConfigure(p),
|
||||
}
|
||||
|
||||
p.ConfigureFunc = providerConfigure(p)
|
||||
|
||||
return p
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue