Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jul 2, 2019
1 parent 6834408 commit 5ef8488
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ois-scanner/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* module "ois-scanner" {
* source = "git::https://vc1.csvd.census.gov/terraform-modules/aws-common-security-groups.git//ois-scanner"
*
* # name = "ois-scanner"
* vpc_id = "${var.vpc_id}"
* # Name, CostAllocation, and Environment are pre-set
* # tags = { }
Expand All @@ -20,7 +21,6 @@
*/

locals {
name = "ois-scanner"
ipv4_cidr = [
"148.129.121.0/24",
"148.129.21.0/24",
Expand All @@ -32,11 +32,11 @@ locals {
]
}

module "ois-scanner" {
module "this_security_group" {
# source = "terraform-aws-modules/security-group/aws"
# version = "2.17.0"

name = "${local.name}"
name = "${var.name}"
description = "common: allows OIS scanners and OIS subnets full access for compliance scanning"
vpc_id = "${var.vpc_id}"

Expand Down
5 changes: 5 additions & 0 deletions ois-scanner/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ variable "vpc_id" {
description = "VPC ID Number"
}

variable "name" {
description = "Security group Name"
default = "ois-scanner"
}

variable "tags" {
description = "Extra security group tags"

Expand Down

0 comments on commit 5ef8488

Please sign in to comment.