-
Notifications
You must be signed in to change notification settings - Fork 9.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
provider/azurerm: Add support for setting the primary network interface #11290
provider/azurerm: Add support for setting the primary network interface #11290
Conversation
I just validated this patch works. Much better approach then anything I had planned on #6514 . Keeps the code from breaking and easy fix. Suggest we need documentation added as well. I am going to fork off your repo and work of your branch. I will try to add some tests and documentation and give you a PR. |
I just pushed and submitted a PR for this PR kvisscher#1 Hopefully @kvisscher is still active on this thread. If not we can just reroll on the latest branch and submit a new PR. |
I'll poke @kvisscher (he's normally sitting a couple of meters away from my desk) when he's back from his holiday next week! Thanks for the work! |
602745e
to
cda7e55
Compare
@pearcec I've updated my PR with your changes. Can you verify that this is OK 👍 ? |
Looks good. Did you pull of the latest master? Initially I tried to merge what you had off master and the PR was a bit stale. |
@pearcec I pulled from master 8 days ago :-). Want me to rebase again? |
You are probably good then. Send out the PR and see what happens. |
@pearcec I made be mistaken, but this PR is already pending against the hashicorp/terrform master. |
Right I think you are good. Hopefully it gets picked up soon. |
@radeksimko Don't want to bother you, but is there any chance you know someone in the community who has the super powers to merge this in? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
Fixes #6514.
Tests pass!
@kvisscher if you're happy with the PR could you remove the WIP tag from the title? |
@pmcatominey Done 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(wrong PR)
what is the syntax to set an interface as primary? |
@StephenWeatherford thank you! |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I'm trying to add support for setting the primary network interface for an Azure VM. This works (we deployed something with this change :-)), but I'm not sure how to write a test to proof it to you guys.
Can you guys point me in the right direction?