Skip to content

Conversation

bryantbiggs
Copy link
Member

@bryantbiggs bryantbiggs commented Nov 1, 2024

Description

  • Add support for creating efa-only network interfaces
  • Update tests to default to AL2023

Motivation and Context

Breaking Changes

  • No

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

@bryantbiggs
Copy link
Member Author

bryantbiggs commented Nov 1, 2024

waiting for 2x p5e.48xlarge instances to come available to do final evaluation

@bryantbiggs
Copy link
Member Author

image

@bryantbiggs bryantbiggs marked this pull request as ready for review November 2, 2024 13:18
device_index = i == 0 ? 0 : 1
network_card_index = i
interface_type = "efa"
interface_type = var.enable_efa_only ? contains(concat([0], var.efa_indices), i) ? "efa" : "efa-only" : "efa"
Copy link
Member

Choose a reason for hiding this comment

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

contains(concat([0], var.efa_indices), i) looks almost like magic but I guess it works as expected. :)

Copy link
Member Author

Choose a reason for hiding this comment

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

ya, hopefully on the next breaking change some of this can be simplified by changing the defaults 😅

@bryantbiggs bryantbiggs merged commit c6da22c into terraform-aws-modules:master Nov 2, 2024
18 checks passed
@bryantbiggs bryantbiggs deleted the feat/efa-only branch November 2, 2024 13:33
antonbabenko pushed a commit that referenced this pull request Nov 2, 2024
## [20.28.0](v20.27.0...v20.28.0) (2024-11-02)

### Features

* Add support for creating `efa-only` network interfaces ([#3196](#3196)) ([c6da22c](c6da22c))
@antonbabenko
Copy link
Member

This PR is included in version 20.28.0 🎉

Copy link

github-actions bot commented Dec 4, 2024

I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants