-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Resource: azurerm_express_route_circuit_authorization
#992
Conversation
Tests pass: ``` $ acctests azurerm TestAccAzureRMExpressRouteCircuitAuthorization_ === RUN TestAccAzureRMExpressRouteCircuitAuthorization_importBasic --- PASS: TestAccAzureRMExpressRouteCircuitAuthorization_importBasic (132.66s) === RUN TestAccAzureRMExpressRouteCircuitAuthorization_basic --- PASS: TestAccAzureRMExpressRouteCircuitAuthorization_basic (137.73s) PASS ok github.com/terraform-providers/terraform-provider-azurerm/azurerm 270.416s ```
Tearing down my sample it appears we need to lock based on the express route circuit name, since we get this error:
when attempting to delete multiple authorizations at once. I'll push a fix next week.. |
Before these patches, this failed with: ``` * azurerm_express_route_circuit_authorization.test1: Error deleting Express Route Circuit Authorization "acctestauth12715900084028037607" (Circuit "acctest-erc-2715900084028037607" / Resource Group "acctestrg-2715900084028037607"): network.ExpressRouteCircuitAuthorizationsClient#Delete: Failure sending request: StatusCode=409 -- Original Error: failed request: autorest/azure: Service returned an error. Status=<nil> Code="AnotherOperationInProgress" Message="Another operation on this or dependent resource is in progress. To retrieve status of the operation use uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d30da8eb-3e09-480c-8844-745d73e0e8bd?api-version=2017-09-01." Details=[] ``` Now the tests pass: ``` $ acctests azurerm TestAccAzureRMExpressRouteCircuitAuthorization_multiple === RUN TestAccAzureRMExpressRouteCircuitAuthorization_multiple --- PASS: TestAccAzureRMExpressRouteCircuitAuthorization_multiple (781.75s) PASS ok github.com/terraform-providers/terraform-provider-azurerm/azurerm 781.781s ```
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Tests pass: