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 ASG maintenance_options and LT instance_requirements #193

Conversation

bryantbiggs
Copy link
Member

Description

Motivation and Context

  • Adding support for attribute based instance selection

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 bryantbiggs requested a review from antonbabenko May 14, 2022 14:36
Copy link
Member

@antonbabenko antonbabenko left a comment

Choose a reason for hiding this comment

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

Looks good. Minor comments.

module "instance_requirements" {
source = "../../"

# Needs https://github.com/hashicorp/terraform-provider-aws/issues/21566 for ASG
Copy link
Member

Choose a reason for hiding this comment

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

Can we have a special/searchable phrase to know that something is blocked by by certain issue upstream? In some projects (not Terraform), I sometimes use @ref or @seealso to be able to search across the whole codebase. In Terraform I usually use @todo: Fix this or that.

WDYT?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated in ffec352

}
}

dynamic "memory_mib" {
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Oof, missed that. let me update

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated in ffec352

}
}

dynamic "vcpu_count" {
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated in ffec352

@antonbabenko antonbabenko merged commit 1d1d3c0 into terraform-aws-modules:master May 16, 2022
antonbabenko pushed a commit that referenced this pull request May 16, 2022
## [6.4.0](v6.3.0...v6.4.0) (2022-05-16)

### Features

* Add support for ASG `maintenance_options` and LT `instance_requirements` ([#193](#193)) ([1d1d3c0](1d1d3c0))
@antonbabenko
Copy link
Member

This PR is included in version 6.4.0 🎉

@bryantbiggs bryantbiggs deleted the feat/attribute-based-instances branch May 16, 2022 15:25
@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 Oct 28, 2022
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