Resource specific variable tags
Closed this issue · 1 comments
rb-nr commented
Proposal
var.security_group_tags
var.autoscaling_group_tags
var.lb_tags
var.target_group_tags
Examples that use this system
- hashicorp supported module for vpcs has
var.tags
but also hasvar.vpc_tags
,var.intra_subnet_tags
,var.customer_gateway_tags
, etc. - hashicorp supported module for atlantis has
var.tags
but also hasvar.atlantis_security_group_tags
,var.alb_http_security_group_tags
,var.alb_https_security_group_tags
, etc.
tradel commented
What is the use case for this? When would you want different tags for each resource type in a module?