-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Changing an application gateway's subnet fails. #747
Comments
@tombuildsstuff could be related to the other app-gateway issue around subnet deletion? #608 |
@achandmsft kind of, but not really - the field needs to become ForceNew, unless this functionality is available in the Portal. That said, we're unable to add a test case for any fix for this until #608 is resolved unfortunately - (since it causes subnet 'leaks' where they can't be deleted until an unspecified period after the Application Gateway's been deleted) - which is why we can't really add a fix this until #608 is resolved. |
👋 To give an update here: we're still waiting for the Application Gateway API to be fixed before proceeding with any enhancements or bug fixes for this resource; once the API is fixed (I've just requested an update). As such I've de-prioritised this issue for the moment, but we'll circle around and take another look once the API's in a usable state - sorry for the inconvenience here! Thanks! |
Given this issue is blocked on an upstream issue in the Azure API rather than keeping multiple issues open and trying to ensure they all remain up to date - I'm going to close this in favour of #1576 which is the Meta-Issue tracking the Bugs and Enhancements for the Application Gateway Resource. Once the bug in the API is fixed we should be able to take a look into this, but we'll keep track of the status of this issue there for the moment. Thanks! |
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! |
Terraform Version
Terraform v0.11.2
Affected Resource(s)
azurerm_application_gateway
Terraform Configuration Files
Use the application gateway example from the documentation. Here (https://www.terraform.io/docs/providers/azurerm/r/application_gateway.html#example-usage)
Output
Expected Behavior
The application gateway should be stopped, moved to the new subnet and then restarted.
Actual Behavior
Got an error from Azure that says the application gateway must be stopped before its subnet can be changed. Terraform does not provide the functionality to do so, had to resort to
az network application-gateway stop
to stop the gateway and thenterraform apply
again.Steps to Reproduce
terraform apply
terraform apply
The text was updated successfully, but these errors were encountered: