-
-
Notifications
You must be signed in to change notification settings - Fork 355
feat: Additional tags to wide open security groups #142
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: Additional tags to wide open security groups #142
Conversation
thanks @nitrocode - could you split this up to 3 tags since there are 3 security groups and name them:
and the variables can be defined similar to what has been done on the |
Hi @bryantbiggs .
The way these are named, are you advocating to not do a
If I used the example you linked to, the variable in this PR would be |
no no, I think merging is good. its common across the modules here, there is a default tags group and then individual tags per "resource". so if you look at like the VPC module as an example, you'll see they merge the default tags as well as tags for the specific resource like: tags = merge(var.tags, var.dhcp_options_tags) so here with your PR I think it would be good to have something like: # for alb_https security group
tags = merge(local.tags, var.alb_https_security_group_tags)
...
# for alb_http security group
tags = merge(local.tags, var.alb_http_security_group_tags)
...
# for atlantis security group
tags = merge(local.tags, var.atlantis_security_group_tags) that way the each get the default tags with |
@bryantbiggs makes sense to me. I updated the changes to reflect your suggestions. From previous comments by @antonbabenko, it looks like these PRs won't get any love until August #128 (comment). |
@nitrocode would you mind updating your branch with master - @antonbabenko 👍 |
All set! |
Thanks, @nitrocode ! v2.22.0 has been just released. |
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
Adds a new variable
var.tags_sgs_additional
to merge with the tags supplied on the security group resources that are open to the world. This is to add tags to those wide open security groups to pass our audits.Motivation and Context
For auditing purposes
Closes #141
Breaking Changes
None
How Has This Been Tested?
Locally