From b6628baa6cefa60edf35ea856badb573ea340aad Mon Sep 17 00:00:00 2001 From: Lee Sutcliffe Date: Mon, 28 Nov 2022 12:47:24 +0000 Subject: [PATCH] resolves comments, bool in notes and error msg format Relates-to: https://github.com/hashicorp/terraform-provider-azurerm/issues/14736 --- internal/services/storage/storage_account_resource.go | 2 +- website/docs/r/storage_account.html.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/services/storage/storage_account_resource.go b/internal/services/storage/storage_account_resource.go index 5a70c0acf3a9..025f5772d1fd 100644 --- a/internal/services/storage/storage_account_resource.go +++ b/internal/services/storage/storage_account_resource.go @@ -1581,7 +1581,7 @@ func resourceStorageAccountUpdate(d *pluginsdk.ResourceData, meta interface{}) e } if _, err := client.Update(ctx, id.ResourceGroup, id.Name, opts); err != nil { - return fmt.Errorf("updating Azure Storage Account sftp_enabled %q: %+v", id.Name, err) + return fmt.Errorf("updating `sftp_enabled` for %s: %+v", *id, err) } } diff --git a/website/docs/r/storage_account.html.markdown b/website/docs/r/storage_account.html.markdown index 7f522767e1f5..ea19340650c0 100644 --- a/website/docs/r/storage_account.html.markdown +++ b/website/docs/r/storage_account.html.markdown @@ -168,7 +168,7 @@ The following arguments are supported: * `stfp_enabled` - (Optional) Boolean, enable SFTP for the storage account --> **NOTE:** SFTP support requires `is_hns_enabled` set to `true`. SFTP Support is not yet available in the West Europe region. See [here](https://learn.microsoft.com/en-us/azure/storage/blobs/secure-file-transfer-protocol-support) for more information. Defaults to `False` +-> **NOTE:** SFTP support requires `is_hns_enabled` set to `true`. [More information on SFTP support can be found here](https://learn.microsoft.com/azure/storage/blobs/secure-file-transfer-protocol-support). Defaults to `false` * `tags` - (Optional) A mapping of tags to assign to the resource.