File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
internal/backend/remote-state/azure Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -453,10 +453,10 @@ func (b *Backend) Configure(configVal cty.Value) tfdiags.Diagnostics {
453453 needToLookupAccessKey := backendConfig .AccessKey == "" && backendConfig .SasToken == "" && ! backendConfig .UseAzureADAuthentication
454454 if backendConfig .ResourceGroupName == "" {
455455 if needToLookupAccessKey {
456- backendbase .ErrorAsDiagnostics (fmt .Errorf ("One of `access_key`, `sas_token`, `use_azuread_auth` and `resource_group_name` must be specifieid" ))
456+ return backendbase .ErrorAsDiagnostics (fmt .Errorf ("One of `access_key`, `sas_token`, `use_azuread_auth` and `resource_group_name` must be specifieid" ))
457457 }
458458 if backendConfig .LookupBlobEndpoint {
459- backendbase .ErrorAsDiagnostics (fmt .Errorf ("`resource_group_name` is required when `lookup_blob_endpoint` is set" ))
459+ return backendbase .ErrorAsDiagnostics (fmt .Errorf ("`resource_group_name` is required when `lookup_blob_endpoint` is set" ))
460460 }
461461 }
462462
You can’t perform that action at this time.
0 commit comments