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

Getting error while importing Network interface #487

Open
ChaturvediSwati opened this issue Dec 7, 2023 · 5 comments
Open

Getting error while importing Network interface #487

ChaturvediSwati opened this issue Dec 7, 2023 · 5 comments
Labels
question Further information is requested

Comments

@ChaturvediSwati
Copy link

Getting error parsing network interface Ip configurations unexpected segment "ipConfigurations/ipconfig1" present at the end of the URI

@magodo
Copy link
Collaborator

magodo commented Dec 8, 2023

@ChaturvediSwati Would you elaborate more about the failure, including the resource id being exported, and the exact error message that is raised?

@ChaturvediSwati
Copy link
Author

@magodo it would not be possible to share, apologies for the inconvenience. But I have observed that network interface with IP configurations as static allocation method, giving above error, however if tried with dynamic IPs of network interface, it is working as expected.

Could you please let me know any way to import network interface with IP allocation method as static?

@magodo
Copy link
Collaborator

magodo commented Jan 3, 2024

Could you try to manually import this resource by terraform import?

@magodo magodo added the question Further information is requested label Jan 3, 2024
@ChaturvediSwati
Copy link
Author

I tried importing using terraform import, I was able to import the tfstate file with network interface configurations as static allocation method.

@magodo
Copy link
Collaborator

magodo commented Jan 4, 2024

Then I guess it is because the tool is exporting this resource as a different TF resource type. I can hardly help if there is no more detail provided..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants