-
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
Nat Gateway IP association migration does not work. #7167
Comments
Hi @dkistner thanks for this issue! The Since the To work out this, not only you need to remove the attribute Thanks! |
hi @dkistner As @ArcturusZhang has mentioned for resources which already exist in Azure (such as this one) you'll need to import them into the state here (using 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 👉 [email protected]. Thanks! |
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_nat_gateway
azurerm_nat_gateway_public_ip_association
Terraform Configuration Files
public_ip_address_ids
) in theazurerm_nat_gateway
resource and addazurerm_nat_gateway_public_ip_association
resource instead. Reapply it.Panic Output
Expected Behavior
Actual Behavior
Terraform nat gateway ip association migration from internal via
public_ip_address_ids
field to association resourceazurerm_nat_gateway_public_ip_association
is not working.Steps to Reproduce
azurerm_nat_gateway_public_ip_association
resourceImportant Factoids
no
References
The text was updated successfully, but these errors were encountered: