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 bePremiumto 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.txtto be accurate.
Release files for pulumi-azure-quickstart-acr-geo-replication 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pulumi_azure_quickstart_acr_geo_replication-0.0.3.tar.gz | 7.6 kB | Details |
Release files / pulumi_azure_quickstart_acr_geo_replication-0.0.3.tar.gz
| Download URL | pulumi_azure_quickstart_acr_geo_replication-0.0.3.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9871c0abfbed0dfef6ef4a806bc3cf82360596b7c6a21b8e301ae89cb49eb34b
|
|
BLAKE2b-256 checksum How to use checksums |
8504d9e74c81ef91087cd2397a5454c093904a02951726ce1c4cf116122943fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|