Azure / Azure/azure-cli

`az functionapp deployment slot create` doesn't copy tags

Open
#16,644 8 comments 0 reactions 0 assignees View on GitHub
act-observability-squad Functions Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Describe the bug**
When using `az functionapp deployment slot create` it doesn't assign the tags from the copied production 'slot' config.

**To Reproduce**
In pwsh:
```pwsh
az functionapp deployment slot create `
--name $FunctionName `
--resource-group $ResourceGroup `
--slot $Slot
```

**Expected behaviour**
Slot is created with tags

**Additional context**
Function App with Tags:
![image](https://user-images.githubusercontent.com/2286713/105560529-eef52a00-5d0b-11eb-847f-05fe3e37f766.png)

Staging Slot created:
![image](https://user-images.githubusercontent.com/2286713/105560517-dedd4a80-5d0b-11eb-8a05-59af982e76e6.png)

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.