-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add block for primary nic in VM #379
Conversation
ced97cd
to
d94f520
Compare
d94f520
to
82e0051
Compare
82e0051
to
157c932
Compare
To avoid confict nic inside VM with link_nic resouces we add a new block 'primary_nic' in VM for only nic with device number 0
157c932
to
5628f5d
Compare
networkInterfaces := []oscgo.NicForVmCreation{} | ||
if nics := d.Get("primary_nic").(*schema.Set).List(); len(nics) > 0 { |
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.
Can we add an error if both, primary_nic and nics are set please.
It seems that this change is not documented at all in terraform documentation. It would be great to align documentation with this feature (https://registry.terraform.io/providers/outscale/outscale/latest/docs/resources/vm) |
To avoid conflict nic inside VM with link_nic resouces we add a new block 'primary_nic' in VM for only nic with device number 0
Fixed #376