-
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
azurerm_lb always shows changed on resource with Public IP frontend. #12166
Comments
I have the same issue with terraform 1.0.0 and azurerm 2.64.0. |
I'm seeing the same. FWIW, this ignores it so it at least doesn't clog up plan output:
|
For reference #12208 is part of provider version 2.64.0. |
Hello @katbyte, The issue appears to be partially solved in 2.64.0, but not completely. @jgreat can you re-open the issue? When I run a terraform plan for my environment using 2.63.0, I get 22 instances of the '+ private_ip_address_version = "IPv4"' addition, but when I run the plan with 2.64.0 I only get 17. Comparing the two plans, any azure_lb resources that have multiple frontend_ip_configuration blocks defined are appearing in 2.63.0 but NOT 2.64.0, Any azure_lb resources that have a single frontend_ip_configuration block defined still show up with the addition. See the examples below. (Below addition appears in 2.63.0 but not 2.64.0)
(Below addition appears in both 2.63.0 and 2.64.0)
|
Yep still happening in 2.64.0 |
For completeness: Also happening in 2.65.0. @jgreat can you pleaese re-open this ticket? |
I'm not seeing the issue any more with 2.65.0. My plans are coming up clean now. I've had a In any case you might need to open a new issue, I don't seem to have permission to re-open this one. |
Glad to hear your plans are fixed @jgreat. Unfortunately, even after upgrading the provider to 2.65.0 the issue is still present. For now, I have the lifecycle_ignore_changes workaround to bypass the issue. I'll open a new issue then if we're not able to re-open this one. |
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. |
Looks like
azure_lb
is always trying to setfrontend_ip_configuration[0].private_ip_address_version = "Ipv4"
even onfrontend_ip_configuration
blocks that are usingpublic_ip
. This looks like its accepted, but not persisted on the Azure side.Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_lb
Terraform Configuration Files
Debug Output
Panic Output
Expected Behaviour
First apply should create resources. Second apply should not show changes.
Actual Behaviour
First apply creates resources. Second apply shows changes:
Steps to Reproduce
terraform apply
terraform apply
or planThe text was updated successfully, but these errors were encountered: