ci-dns-updater
v1.0.35
Published
Use this to create/update the Private DNS A record for a container instance on startup.
Downloads
36
Maintainers
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
- Must have the Private DNS Zone Contributor role on Private DNS Zone in order to create/update the DNS A record.
- 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 |