Skip to content

Commit 5acc8ac

Browse files
committed
refactored the mandatory tags variable to a more expressive mandated tags
1 parent 9bfd61a commit 5acc8ac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

security.group-main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ resource aws_security_group new {
2020
vpc_id = var.in_vpc_id
2121
name = "security-group-${ var.in_ecosystem_name }-${ var.in_tag_timestamp }-n"
2222
description = "This new security group ${ var.in_tag_description }"
23-
tags = merge( local.security_group_tags, var.in_mandatory_tags )
23+
tags = merge( local.security_group_tags, var.in_mandated_tags )
2424

2525
}
2626

security.group-variables.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ variable in_egress_cidr_blocks {
6262

6363

6464
### ############################## ###
65-
### [[variable]] in_mandatory_tags ###
65+
### [[variable]] in_mandated_tags ###
6666
### ############################## ###
6767

68-
variable in_mandatory_tags {
68+
variable in_mandated_tags {
6969

7070
description = "Optional tags unless your organization mandates that a set of given tags must be set."
7171
type = map

0 commit comments

Comments
 (0)