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 input variable 'instance_tags' #343

Merged
merged 2 commits into from
Jun 28, 2023
Merged

feat: Add input variable 'instance_tags' #343

merged 2 commits into from
Jun 28, 2023

Conversation

luigidifraiawork
Copy link
Contributor

Description

Add input variable instance_tags, similarly to the VPC module's vpc_tags.

Motivation and Context

It allows for fine grained tagging of EC2 instances that can be used by automation tools to perform certain actions, such as cost-saving measures by shutting down instances outside of working hours if they are tagged with e.g., Persistence = "09:00-18:00". With this change in place, the extra instance tag would not be set for the volume or IAM role but just for the instance itself, which is the only place where it makes sense.

Breaking Changes

None.

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

@luigidifraiawork luigidifraiawork changed the title feat(*): add input variable 'instance_tags' feat(*): Add input variable 'instance_tags' Jun 28, 2023
@luigidifraiawork luigidifraiawork changed the title feat(*): Add input variable 'instance_tags' feat: Add input variable 'instance_tags' Jun 28, 2023
@antonbabenko antonbabenko merged commit 025d3b4 into terraform-aws-modules:master Jun 28, 2023
antonbabenko pushed a commit that referenced this pull request Jun 28, 2023
## [5.2.0](v5.1.0...v5.2.0) (2023-06-28)

### Features

* Add input variable 'instance_tags' ([#343](#343)) ([025d3b4](025d3b4))
@antonbabenko
Copy link
Member

This PR is included in version 5.2.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 Jul 29, 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.

2 participants