Azure / Azure/azure-cli

'az container create' does not support --tags

Open
#5,713 15 comments 15 reactions 1 assignee Claimed by @samkreter View on GitHub
act-observability-squad Container Container Instances feature-request Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

---

### Environment summary

MSI / 2.0.28 / Windows 1803.17107 / PowerShell

Feature request - update `az container create` to allow specifying tags upon creation

The REST API docs [https://docs.microsoft.com/en-us/rest/api/container-instances/containergroups/createorupdate](https://docs.microsoft.com/en-us/rest/api/container-instances/containergroups/createorupdate) show that container groups themselves do support tags on PUT

Tags are commonly used by organizations for tracking metadata, such as internal billing info, which application a resource belongs to, etc. It would be great to be able to use tags with ACI on creation. Currently, users will have to drop down & use ARM templates or do a follow-up `az resource tag` operation

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.