Fix error message in Azure state backend (#12424)
The error led me to try adding `resource_group` but the code wanted `resource_group_name`. This fixes the error message to match the code.
This commit is contained in:
parent
1da30ec0d7
commit
70de22253a
|
@ -35,7 +35,7 @@ func azureFactory(conf map[string]string) (Client, error) {
|
||||||
if !ok {
|
if !ok {
|
||||||
resourceGroupName, ok := conf["resource_group_name"]
|
resourceGroupName, ok := conf["resource_group_name"]
|
||||||
if !ok {
|
if !ok {
|
||||||
return nil, fmt.Errorf("missing 'resource_group' configuration")
|
return nil, fmt.Errorf("missing 'resource_group_name' configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
var err error
|
var err error
|
||||||
|
|
Loading…
Reference in New Issue