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:
Mitchell Hashimoto 2016-11-09 09:56:45 -08:00 committed by GitHub
commit 064691b03c
1 changed files with 2 additions and 1 deletions

View File

@ -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
}