From b6ee6fa08f2464ced7aa84852e25e2072775cb58 Mon Sep 17 00:00:00 2001 From: v-cheye Date: Tue, 21 Jan 2020 09:11:27 +0800 Subject: [PATCH] Add more support for new tier of azurerm_express_route_circuit --- .../services/network/resource_arm_express_route_circuit.go | 2 ++ website/docs/d/express_route_circuit.html.markdown | 2 +- website/docs/r/express_route_circuit.html.markdown | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/azurerm/internal/services/network/resource_arm_express_route_circuit.go b/azurerm/internal/services/network/resource_arm_express_route_circuit.go index 5fc10ddfc9a8..e118898c2590 100644 --- a/azurerm/internal/services/network/resource_arm_express_route_circuit.go +++ b/azurerm/internal/services/network/resource_arm_express_route_circuit.go @@ -78,6 +78,8 @@ func resourceArmExpressRouteCircuit() *schema.Resource { Type: schema.TypeString, Required: true, ValidateFunc: validation.StringInSlice([]string{ + string(network.ExpressRouteCircuitSkuTierBasic), + string(network.ExpressRouteCircuitSkuTierLocal), string(network.ExpressRouteCircuitSkuTierStandard), string(network.ExpressRouteCircuitSkuTierPremium), }, true), diff --git a/website/docs/d/express_route_circuit.html.markdown b/website/docs/d/express_route_circuit.html.markdown index 5b0d5059db53..8e64ca9f768e 100644 --- a/website/docs/d/express_route_circuit.html.markdown +++ b/website/docs/d/express_route_circuit.html.markdown @@ -69,5 +69,5 @@ output "service_key" { `sku` supports the following: -* `tier` - The service tier. Possible values are `Standard` or `Premium`. +* `tier` - The service tier. Possible values are `Basic`, `Local`, `Standard` or `Premium`. * `family` - The billing mode for bandwidth. Possible values are `MeteredData` or `UnlimitedData`. diff --git a/website/docs/r/express_route_circuit.html.markdown b/website/docs/r/express_route_circuit.html.markdown index 7106553c5040..6c901259b98e 100644 --- a/website/docs/r/express_route_circuit.html.markdown +++ b/website/docs/r/express_route_circuit.html.markdown @@ -65,7 +65,7 @@ The following arguments are supported: `sku` supports the following: -* `tier` - (Required) The service tier. Possible values are `Standard` or `Premium`. +* `tier` - (Required) The service tier. Possible values are `Basic`, `Local`, `Standard` or `Premium`. * `family` - (Required) The billing mode for bandwidth. Possible values are `MeteredData` or `UnlimitedData`.