-
-
Notifications
You must be signed in to change notification settings - Fork 573
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 tags to RDS enhanced monitoring IAM role #136
Conversation
Thanks, @SamuelM333 ! v2.20.0 has been just released. |
@@ -129,6 +129,10 @@ resource "aws_iam_role" "rds_enhanced_monitoring" { | |||
assume_role_policy = data.aws_iam_policy_document.monitoring_rds_assume_role.json | |||
|
|||
permissions_boundary = var.permissions_boundary | |||
|
|||
tags = merge(var.tags, { | |||
Name = local.name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm encountering an InvalidInput: Duplicate tag keys found
when upgrading to 2.20+.
If name
is already provided in var.tags
, this would throw the duplicate error. Could this simply be tags = var.tags
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened this as #189
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. |
Description
This PR adds tags to RDS enhanced monitoring IAM role.
Motivation and Context
The documentation says:
But the tags are not added to the IAM role created for RDS enhanced monitoring. This PR fixes that.
Breaking Changes
None.
How Has This Been Tested?
According to the iam_role this should work.