Skip to content
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_network_interface doesn't support import #86

Closed
hashibot opened this issue Jun 13, 2017 · 2 comments
Closed

azurerm_network_interface doesn't support import #86

hashibot opened this issue Jun 13, 2017 · 2 comments

Comments

@hashibot
Copy link

This issue was originally opened by @HighwayofLife as hashicorp/terraform#14591. It was migrated here as part of the provider split. The original body of the issue is below.


azurerm_network_interface doesn't support import, despite documentation stating otherwise.

Terraform Version

Terraform v0.9.5

Affected Resource(s)

  • azurerm_network_interface

Debug Output

https://gist.github.com/HighwayofLife/a145ce404723b23f4083336c5c8ff139

Expected Behavior

Azure network interface resource should be imported.

Actual Behavior

azurerm_network_interface.test: Importing from ID "/subscriptions/<redacted>/resourceGroups/<redacted>/providers/microsoft.network/networkInterfaces/jenkinsmaster314"...
Error importing: 1 error(s) occurred:

* azurerm_network_interface.test (import id: /subscriptions/<redacted>/resourceGroups/<redacted>/providers/microsoft.network/networkInterfaces/jenkinsmaster314): import azurerm_network_interface.test (id: /subscriptions/<redacted>/resourceGroups/<redacted>/providers/microsoft.network/networkInterfaces/jenkinsmaster314): resource azurerm_network_interface doesn't support import

Steps to Reproduce

  1. terraform import azurerm_network_interface.test /subscriptions/xxxxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/microsoft.network/networkInterfaces/mynetworkinterface
@tombuildsstuff
Copy link
Contributor

Fixed via #119

@ghost
Copy link

ghost commented Apr 1, 2020

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!

@ghost ghost locked and limited conversation to collaborators Apr 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants