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

feat: support setting nic_type of primary network interface #334

Merged

Conversation

tpdownes
Copy link
Member

@tpdownes tpdownes commented Sep 7, 2023

This PR adds support to specify the NIC type of the primary network interface for instance templates. This field is important VM families and operating systems that support GVNIC and get increased network performance. It defaults to null, the current behavior (unspecified), so this is not a change that requires user action. var.additional_networks supports this field, but the primary interface does not.

I can eventually see a breaking change where var.additional_networks becomes var.networks (or var.network_interfaces) and the primary network interface is inferred from the 1st element in the list. This would eliminate functionality gaps between the primary interface and secondary interfaces.

@tpdownes tpdownes requested a review from a team as a code owner September 7, 2023 16:13
@tpdownes tpdownes marked this pull request as draft September 7, 2023 16:18
@tpdownes tpdownes marked this pull request as ready for review September 7, 2023 16:27
Copy link
Member

@bharathkkb bharathkkb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @tpdownes

@bharathkkb bharathkkb merged commit f067e54 into terraform-google-modules:master Sep 7, 2023
@tpdownes tpdownes deleted the support_nic_type branch September 7, 2023 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants