Skip to content

feat: AWS Instance Scheduler Tagging Support #198

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

Conversation

andrew-wiggins
Copy link
Contributor

Description

This change adds a new input variable for the module that allows tags to be applied to the RDS cluster only. Existing functionality with the current tags variable is preserved by using a merge of the two maps.

Motivation and Context

Motivation for adding this new input is that the AWS Instance Scheduler requires tags be added to the RDS cluster only for it to work (i.e. there cannot be a schedule tag added to the RDS instance). Therefore this change is being introduced to allow some tags to specifically be added to the cluster.

Breaking Changes

No breaking changes. This only introduces one new input variable and merges it into the existing tags on the RDS cluster.

How Has This Been Tested?

This change has been tested in development and staging environments and works as expected. AWS Instance Scheduler picks up these tagged clusters and starts/stops them as needed.

@andrew-wiggins andrew-wiggins changed the title Added support for cluster_specific_tags input AWS Instance Scheduler Tagging Support Mar 5, 2021
@andrew-wiggins andrew-wiggins changed the title AWS Instance Scheduler Tagging Support feat: AWS Instance Scheduler Tagging Support Mar 5, 2021
variables.tf Outdated
@@ -280,6 +280,12 @@ variable "tags" {
default = {}
}

variable "cluster_specific_tags" {
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 call this cluster_tags please

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.

thanks @andrew-wiggins - @antonbabenko 👍🏼

@antonbabenko antonbabenko merged commit 8b46fbc into terraform-aws-modules:master Mar 8, 2021
@antonbabenko
Copy link
Member

Thanks, v3.8.0 has been just released.

lsc added a commit to qapital/terraform-aws-rds-aurora that referenced this pull request Apr 27, 2021
@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 Apr 14, 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.

3 participants