Azure Storage Sync Group

This page shows how to write Terraform and Azure Resource Manager for Storage Sync Group and write them securely.

azurerm_storage_sync_group (Terraform)

The Sync Group in Storage can be configured in Terraform with the resource name azurerm_storage_sync_group. The following sections describe 1 example of how to use the resource and its parameters.

Example Usage from GitHub
resource "azurerm_storage_sync_group" "sync_group" {
  name            = local.resource_storage_sync_group_name
  storage_sync_id =

resource "azurerm_storage_sync_cloud_endpoint" "sync_cloud_endpoint" {

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).


Explanation in Terraform Registry

Manages a Storage Sync Group.

Tips: Best Practices for The Other Azure Storage Resources

In addition to the azurerm_storage_account, Azure Storage has the other resources that should be configured for security reasons. Please check some examples of those resources and precautions.



Ensure to use HTTPS connections

It is better to use HTTPS instead of HTTP, which could be vulnerable to person-in-the-middle attacks.



Ensure to allow Trusted Microsoft Services to bypass

It is better to allow Trusted Microsoft Services to bypass. They are not able to access storage account unless rules are set to allow them explicitly.

Review your Azure Storage settings

In addition to the above, there are other security points you should be aware of making sure that your .tf files are protected in Shisho Cloud.

Microsoft.StorageSync/storageSyncServices/syncGroups (Azure Resource Manager)

The storageSyncServices/syncGroups in Microsoft.StorageSync can be configured in Azure Resource Manager with the resource name Microsoft.StorageSync/storageSyncServices/syncGroups. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.


  • apiVersion required - string
  • name required - string

    Name of Sync Group resource.

  • properties required - object

    Sync Group Create Properties object.

  • type required - string

Frequently asked questions

What is Azure Storage Sync Group?

Azure Storage Sync Group is a resource for Storage of Microsoft Azure. Settings can be wrote in Terraform.

Where can I find the example code for the Azure Storage Sync Group?

For Terraform, the wesley-trust/Terraform source code example is useful. See the Terraform Example section for further details.