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: Add support for allowed_instance_type #2552

Merged
merged 2 commits into from
Apr 12, 2023

Conversation

petros-d
Copy link
Contributor

@petros-d petros-d commented Apr 6, 2023

Description

Add support for the allowed_instance_types parameter in the instance_requirements block of the self managed nodegroups ASG.

Motivation and Context

This allowed additional flexibility when configuring the ASGs to use specific instance types. By defining the list of allowed instance types, we allow a more deterministic way of configuring our environment. Support for allowed_instance_types was added in v4.57.0 of the aws provider, so have bumped up the version: https://github.com/hashicorp/terraform-provider-aws/releases/tag/v4.57.0

Breaking Changes

No expected breaking changes

@petros-d petros-d changed the title Add support for allowed_instance_types feat: add support for allowed_instance_type Apr 6, 2023
@petros-d petros-d changed the title feat: add support for allowed_instance_type feat: Add support for allowed_instance_type Apr 6, 2023
@bryantbiggs
Copy link
Member

thank you! could we also add network_bandwidth_gbps as well

@petros-d
Copy link
Contributor Author

Good idea; I've added network_bandwidth_gbps, and fixed the failing pre-commit hooks.

I didn't see any examples using the instance_requirements options, so I didn't add one, but have tested the allowed_instance_types option on my own clusters.

Copy link
Member

@bryantbiggs bryantbiggs left a comment

Choose a reason for hiding this comment

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

thank you!

@bryantbiggs bryantbiggs merged commit 54417d2 into terraform-aws-modules:master Apr 12, 2023
17 checks passed
antonbabenko pushed a commit that referenced this pull request Apr 12, 2023
## [19.13.0](v19.12.0...v19.13.0) (2023-04-12)

### Features

* Add support for allowed_instance_type ([#2552](#2552)) ([54417d2](54417d2))
@antonbabenko
Copy link
Member

This PR is included in version 19.13.0 🎉

@github-actions
Copy link

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 May 13, 2023
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.

None yet

3 participants