Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Azure Quickstart ACR Geo Replicated

v0.0.3 published on Friday, Oct 15, 2021 by Ian Wahbe

Easily create Azure ACR Registries that are replicated across Azure locations as a package available in all Pulumi languages.


import * as acr from "@pulumi/azure-quickstart-acr-geo-replication";
import * as resources from "@pulumi/azure-native/resources";

const resourceGroup = new resources.ResourceGroup("resourceGroup");

const registry = new acr.ReplicatedRegistry("registry", {
    name: "registry",
    replicationLocation: "westus",
    resourceGroupName: resourceGroup.name,

export const login = registry.loginServer;
export const underlying_registry_id = registry.registry.id;
import pulumi
from pulumi_azure_native import resources
from pulumi_azure_quickstart_acr_geo_replication import Registry

# Create an Azure Resource Group
resource_group = resources.ResourceGroup('resource_group')

# Create an Azure resource (Storage Account)
registry = ReplicatedRegistry('registry',

pulumi.export("login", registry.login_server_out)
pulumi.export("underlying_registry_id", registry.registry.Id)
package main

import (
	acr "github.com/pulumi/pulumi-azure-quickstart-acr-geo-replication/sdk/go/azure"

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		resourceGroup, err := resources.NewResourceGroup(ctx, "resourceGroup", nil)
		if err != nil {
			return err

		registry, err := acr.NewReplicatedRegistry(ctx, "registry", &acr.ReplicatedRegistryArgs{
			Name:                "registry",
			ReplicationLocation: "westus",
			ResourceGroupName:   resourceGroup.Name,

		if err != nil {
			return err

		ctx.Export("login", registry.LoginServer)

		return nil