Disk Async Replication
Starts and stops asynchronous persistent disk replication. For more information see the official documentation and the API.
Example Usage
resource "google_compute_disk" "primary-disk" {
name = "primary-disk"
type = "pd-ssd"
zone = "europe-west4-a"
physical_block_size_bytes = 4096
}
resource "google_compute_disk" "secondary-disk" {
name = "secondary-disk"
type = "pd-ssd"
zone = "europe-west3-a"
async_primary_disk {
disk = google_compute_disk.primary-disk.id
}
physical_block_size_bytes = 4096
}
resource "google_compute_disk_async_replication" "replication" {
primary_disk = google_compute_disk.primary-disk.id
secondary_disk {
disk = google_compute_disk.secondary-disk.id
}
}
Content copied to clipboard
Properties
Link copied to clipboard
The primary disk (source of replication).
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The secondary disk (target of replication). You can specify only one value. Structure is documented below. The secondary_disk
block includes: