Skip to main content

No project description provided

Project description

Azure Container Registry Geo Replication Multi-Lang Component (Go)

This repo provides an Azure Container Registry Geo Replication Pulumi Component. Even though the component itself is written in Go, it is consumable from any language Pulumi supports.

An example Registry component resource is available in provider/pkg/provider/registryGeoReplication.go. This component provides a new Azure Container Registry with geo-replication.

Note that the generated provider plugin (pulumi-resource-azure-quickstart-acr-geo-replication) must be on your PATH to be used by Pulumi deployments. If creating a provider for distribution to other users, you should ensure they install this plugin to their PATH.

Prerequisites

  • Go 1.15
  • Pulumi CLI
  • Node.js (to build the Node.js SDK)
  • Yarn (to build the Node.js SDK)
  • Python 3.6+ (to build the Python SDK)
  • .NET Core SDK (to build the .NET SDK)

Build and Test

# Build and install the provider (plugin copied to $GOPATH/bin)
make install_provider

# Regenerate SDKs
make generate

# Test Node.js SDK
$ make install_nodejs_sdk
$ cd examples/simple
$ yarn install
$ yarn link @pulumi/acrgeoreplication
$ pulumi stack init test
$ pulumi up

Thoughts before publishing

  • Should we give the user the ability to choose the Sku? It must be Premium to allow this feature.
  • Should we have the user pass in the name of the resource group, or the resource group itself (as a ref)?
  • Do the dotnet example

Just After Publishing

  • Update requirments.txt to be accurate.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

File details

Details for the file pulumi_azure_quickstart_acr_geo_replication-0.0.3.tar.gz.

File metadata

  • Download URL: pulumi_azure_quickstart_acr_geo_replication-0.0.3.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pulumi_azure_quickstart_acr_geo_replication-0.0.3.tar.gz
Algorithm Hash digest
SHA256 9871c0abfbed0dfef6ef4a806bc3cf82360596b7c6a21b8e301ae89cb49eb34b
MD5 f7857a94c67ba5b1da6c08232cb640d0
BLAKE2b-256 8504d9e74c81ef91087cd2397a5454c093904a02951726ce1c4cf116122943fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page