Azure / Azure/azure-cli-extensions

Update to FrontDoor Unintentionally Modifies Routing Rule

Open
#1,507 1 comment 0 reactions 0 assignees View on GitHub
customer-reported extension/front-door Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

- If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at [Azure/azure-cli](https://github.com/Azure/azure-cli/issues)

### Extension name (the extension in question)

front-door

### Description of issue (in as much detail as possible)

I updated the `--send-recv-timeout` on some frontdoors today, updating them to 60 seconds (from the default of 30).

```
az network front-door update -g MYRG -n MYFD --send-recv-timeout 60
# (1673ms < Mon Apr 6 09:40:26 2020)
```

I noticed during my next Terraform plan operation that it wanted to update a routing rule on the FrontDoor. The AzCLI command changed the redirect type on the https-redirect routing rule from 308 (PermanentRedirect) to 301 (Moved). I can see this on the change history tab in the Activity Log for the Frontdoor resource.

![Screen Shot 2020-04-06 at 11 50 28 AM](https://user-images.githubusercontent.com/78883/78583842-fa1eae00-77fc-11ea-8377-b5e7349a2e72.png)

Potential bug?

-----

### AZ CLI Versions

```
> az version
Azure-cli Azure-cli-command-modules-nspkg Azure-cli-core Azure-cli-nspkg Azure-cli-telemetry
----------- --------------------------------- ---------------- ----------------- ---------------------
2.3.1 2.0.3 2.3.1 3.0.4 1.0.4

> az extension list
Experimental ExtensionType Name Preview Version
-------------- --------------- -------------------- --------- ---------
False whl dev-spaces False 1.0.5
False whl front-door False 1.0.6
False whl aks-preview True 0.4.42
False whl azure-devops False 0.18.0
False whl log-analytics True 0.1.4
False whl application-insights True 0.1.6
```

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.