JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q36605F
  • License ISC

Use this to create/update the Private DNS A record for a container instance on startup.

Package Exports

  • ci-dns-updater
  • ci-dns-updater/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ci-dns-updater) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Container Instance Private DNS Zone Record Updater

Updates your Private DNS Zone A record for a Container Instance. You can run this after your container has initialized, ideally in your server listener.

App registration permissions

  1. Must have the Private DNS Zone Contributor role on Private DNS Zone in order to create/update the DNS A record.
  2. Must have read access to the Container Instance in order to read the IP address.

Project Environment Variables

Variable Name Description Required
AZURE_TENANT_ID Your TenantID. Yes
AZURE_SUBSCRIPTION_ID Your SubscriptionID. No
AZURE_CLIENT_ID The ApplicationID of your app registration. The App registration have the required permissions. Yes
AZURE_CLIENT_SECRET Your app registration client secret. Yes
CI_RG_NAME Container instance resource group name. Yes
CI_NAME Container instance name. Yes
PRIVATE_DNS_ZONE_RG_NAME Resource group name where your Private DNS Zone resides. Yes
PRIVATE_DNS_ZONE_NAME Name of your Private DNS Zone. Yes