Use this data source to access information about an existing Storage Sync.
data "azurerm_storage_sync" "example" {
name = "existingStorageSyncName"
resource_group_name = "existingResGroup"
}
output "id" {
value = data.azurerm_storage_sync.example.id
}
The following arguments are supported:
name
- (Required) The name of this Storage Sync.
resource_group_name
- (Required) The name of the Resource Group where the Storage Sync exists.
In addition to the Arguments listed above - the following Attributes are exported:
id
- The ID of the Storage Sync.
incoming_traffic_policy
- Incoming traffic policy.
location
- The Azure Region where the Storage Sync exists.
tags
- A mapping of tags assigned to the Storage Sync.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Storage Sync.