Azure / Azure/aci-deploy

Setting `ip-address` to `Private` causes an error

Open
#53 12 comments 1 reaction 0 assignees View on GitHub
enhancement idle
Dominant language
TypeScript
Stars
70
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Setting below

```yaml
- name: 'Deploy'
uses: azure/aci-deploy@v1
with:
resource-group: ${{ secrets.AZURE_RESOURCE_GROUP }}
registry-login-server: ${{ secrets.AZURE_REGISTRY_LOGIN_SERVER }}
registry-username: ${{ secrets.AZURE_REGISTRY_USERNAME }}
registry-password: ${{ secrets.AZURE_REGISTRY_PASSWORD }}
name: $DEPLOYMENT_NAME
image: $IMAGE:$GITHUB_SHA
location: 'south central us'
os-type: Windows
cpu: 4
memory: 16
environment-variables: DOTNET_ENVIRONMENT=Production
restart-policy: OnFailure
dns-name-label: $DEPLOYMENT_NAME
ip-address: Private
```

throws the error below

```text
Error: DNS name label for container group is only supported when IP Address type is public.
```

and removing `dns-name-label` throws the error below

```text
Error: Input required and not supplied: dns-name-label
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.