Skip to content

Commit

Permalink
r/storage_account_customer_managed_key: adding args to the error
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff committed Feb 24, 2020
1 parent fb837ad commit ef0105d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func resourceArmStorageAccountCustomerManagedKeyRead(d *schema.ResourceData, met
}

if keyVaultUri == "" {
return fmt.Errorf("Error retrieving Storage Account %q (Resource Group %q): `properties.encryption.keyVaultProperties.keyVaultUri` was nil")
return fmt.Errorf("Error retrieving Storage Account %q (Resource Group %q): `properties.encryption.keyVaultProperties.keyVaultUri` was nil", storageAccountId.Name, storageAccountId.ResourceGroup)
}

keyVaultId, err := azure.GetKeyVaultIDFromBaseUrl(ctx, vaultsClient, keyVaultUri)
Expand Down

0 comments on commit ef0105d

Please sign in to comment.