Skip to content

Commit

Permalink
Merge pull request #3 from terraform-modules/update_comments
Browse files Browse the repository at this point in the history
Update comments
  • Loading branch information
badra001 committed Jun 4, 2020
2 parents f9ca54b + 44d5c2c commit 6cb6608
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 10 deletions.
2 changes: 1 addition & 1 deletion it-linux-base/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ resource "aws_security_group" "this_security_group" {
}

tags = merge(
map("Name", "sg-${local.name}"),
var.tags,
map("boc:tf_module_version", var._module_version),
map("boc:vpc:info", join(" ", compact(list(var.vpc_id, var.vpc_full_name)))),
map("Name", "sg-${local.name}"),
)
}
4 changes: 2 additions & 2 deletions it-linux-base/ports.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ locals {

[ 1002, 1002, "tcp", "OPSware-Control", local.n_all, ["external"] ],
[ 9080, 9080, "tcp", "", [local.n_census[2] ], ["external"]],
[ 10082, 10082, "tcp", "", local.n_all, ["external"] ],
[ 10102, 10102, "tcp", "", local.n_all, ["external"] ],
[ 10082, 10082, "tcp", "Netbackup-spoold", local.n_all, ["external"] ],
[ 10102, 10102, "tcp", "Netbackup-spad", local.n_all, ["external"] ],
]

# these are ignored
Expand Down
2 changes: 1 addition & 1 deletion it-linux-base/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
variable "_module_version" {
description = "Module version number"
type = string
default = "1.0"
default = "1.0.1"
}
3 changes: 3 additions & 0 deletions ois-scanner/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# v1.16 -- 20200604

* add version number, update tags
6 changes: 3 additions & 3 deletions ois-scanner/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ resource "aws_security_group" "this_security_group" {
}

tags = merge(
{
"Name" = "sg-${var.name}"
},
map("Name", "sg-${var.name}"),
var.tags,
map("boc:tf_module_version", var._module_version),
map("boc:vpc:info", join(" ", compact(list(var.vpc_id, var.vpc_full_name)))),
)
}

Expand Down
5 changes: 5 additions & 0 deletions ois-scanner/version.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
variable "_module_version" {
description = "Module version number"
type = string
default = "1.16"
}
4 changes: 4 additions & 0 deletions rds-mssql/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@

* add version.tf
* add port 5023 to rds-mssql

# v1.5 -- 20200604

* update tags to include module version
2 changes: 2 additions & 0 deletions rds-mssql/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,7 @@ resource "aws_security_group" "this_security_group" {
tags = merge(
map("Name", local.name),
var.tags,
map("boc:tf_module_version", var._module_version),
map("boc:vpc:info", join(" ", compact(list(var.vpc_id, var.vpc_full_name)))),
)
}
2 changes: 1 addition & 1 deletion rds-mssql/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
variable "_module_version" {
description = "Module version number"
type = string
default = "1.4"
default = "1.5"
}
3 changes: 3 additions & 0 deletions rds-oracle/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# v1.3 -- 20200604

* add module version, update tags
5 changes: 3 additions & 2 deletions rds-oracle/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ resource "aws_security_group" "this_security_group" {
}

tags = merge(
var.tags,
map("VPC", var.vpc_full_name),
map("Name", "sg-${local.name}"),
var.tags,
map("boc:tf_module_version", var._module_version),
map("boc:vpc:info", join(" ", compact(list(var.vpc_id, var.vpc_full_name)))),
)
}
5 changes: 5 additions & 0 deletions rds-oracle/version.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
variable "_module_version" {
description = "Module version number"
type = string
default = "1.3"
}

0 comments on commit 6cb6608

Please sign in to comment.