Where does the azure_arm shared image gallery replica count parameter go?

I’m struggling to figure out where the shared_image_gallery_replica_count parameter goes in my template.

I’m using target_region and assumed it would go within that block which didn’t validate:

  shared_image_gallery_destination {
    gallery_name         = var.image_gallery
    image_name           = var.image_name
    image_version        = local.image_version
    resource_group       = var.image_gallery_rg
    storage_account_type = "Standard_LRS"
    target_region {
      name = "eastus"
      shared_image_gallery_replica_count = 10
    }
  }

Error: Unsupported argument

  on npe-avd-win10-local.pkr.hcl line 182:
  (source code not available)

An argument named "shared_image_gallery_replica_count" is not expected here.

I also tried placing it outside of the target_region block but still within the shared_image_gallery_destination block.

shared_image_gallery_destination {
    gallery_name         = var.image_gallery
    image_name           = var.image_name
    image_version        = local.image_version
    resource_group       = var.image_gallery_rg
    storage_account_type = "Standard_LRS"
    shared_image_gallery_replica_count = 10
    target_region {
      name = "eastus"
    }
  }

I got the same error as above.

I then tried to place it within the source block but outside of the shared_image_gallery_destination block which also didn’t work.

Error: 1 error(s) occurred:

* A resource_group must be specified for shared_image_gallery_destination

  on npe-avd-win10-local.pkr.hcl line 133:
  (source code not available)

Finally, I tried replacing target_region with replication_regions. This threw the same error as when placing the parameter within the target_region block.

  shared_image_gallery_destination {
    gallery_name         = var.image_gallery
    image_name           = var.image_name
    image_version        = local.image_version
    resource_group       = var.image_gallery_rg
    storage_account_type = "Standard_LRS"
    replication_regions  = ["eastus"]
    shared_image_gallery_replica_count = 10
  }

Where does shared_image_gallery_replica_count go?