-
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
azurerm_lb_backend_address_pool: support for backend_address
#10291
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from a few minor comments this looks good
azurerm/internal/services/loadbalancer/backend_address_pool_data_source.go
Outdated
Show resolved
Hide resolved
…s as is covered by `backend_ip_configurations`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @magodo - LGTM 👍
This broke my current configuration. I'm declaring the backend address pool
and then later associated IP's with the pool after those are created.
and now terraform is trying to remove the IP's from inside_lb_backend
****ERROR on EXECUTE **** |
I was in the middle of reporting the same issue - this seems to want to destroy azurerm_network_interface_backend_address_pool_association based pool members. It looks like the Azure API returns the azurerm_network_interface_backend_address_pool_association nic's as members of the backendAddressPools array (according to an ARM export:
|
I am having the exact same issue now. |
Hi all Thank you for reporting this and really sorry for introducing this regression... I've submit a quick fix for this in #10481. |
This has been released in version 2.46.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.46.0"
}
# ... other configuration ... |
Update: v2.46.1 will contains this fix. |
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 👉 [email protected]. Thanks! |
outbound_rules
for both ds and resourcebackend_address
for both ds and resourceNote that the backend address pool API is kind of confusing, for which I've submit Azure/azure-rest-api-specs#11234. However, after offline ping with service team, it turns out they implement Standard sku LB and Basic sku LB in quite different way. They are not probably gonna change current API behavior in turns of backend address pool. See my comment for more details.
Because of this fact, the implementation in this PR (mostly for CreateUpdate/Delete) will first check the LB sku, then call towards different endpoints accordingly.
Supersedes #8920
Test Result