-
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
Regression in azurerm_network_interface with private_ip_address_version starting with terraform-provider-azurerm 1.21 #2746
Comments
Possible solutionDefine only the primary ip configuration within the For adding secondary ip configurations create a new resource (e. g. |
It would be great if an official developer could reply if this possible solution would be a good idea. The actual implementation would be a next step, but if this does not make sense, we should think about another possibility to fix this bug. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This has been released in version 1.34.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 = "~> 1.34.0"
}
# ... other configuration ... |
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! |
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.11.11
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Assume you have created a network interface via the template above.
If I uncomment the lines for an additional IP and run a terraform apply, a second IP should be added to the interface. This worked with provider version 1.20
Actual Behavior
It want to rebuild the interface:
Steps to Reproduce
terraform apply
terraform apply
-> Forces new resourceReferences
I assume this is a regression by
#2548
and the commit
5b634bd
The entry
ForceNew: true
is wrong or should apply toazurerm_network_interface.nic_0.ip_configuration.1
and not to the whole interface!The text was updated successfully, but these errors were encountered: