Skip to content

Commit

Permalink
Merge pull request #16 from GovTechSG/feat/custom-nacl-input
Browse files Browse the repository at this point in the history
feat: add ability to not use the default nacl from this module
  • Loading branch information
ryanoolala authored Jul 26, 2024
2 parents 1b6326a + d66d33d commit 9e3d9e9
Show file tree
Hide file tree
Showing 4 changed files with 302 additions and 102 deletions.
18 changes: 17 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ resource "aws_eip" "nat" {

# virtual private cloud creator
module "vpc" {
source = "github.com/GovTechSG/terraform-aws-vpc-forked?ref=v4.0.0"
source = "github.com/GovTechSG/terraform-aws-vpc-forked?ref=v4.0.4"

# meta data
name = var.vpc_name
Expand Down Expand Up @@ -54,6 +54,22 @@ module "vpc" {
firewall_inbound_acl_rules = var.firewall_inbound_acl_rules
firewall_outbound_acl_rules = var.firewall_outbound_acl_rules

public_dedicated_network_acl = var.public_dedicated_network_acl
public_inbound_acl_rules = var.public_inbound_acl_rules
public_outbound_acl_rules = var.public_outbound_acl_rules

private_dedicated_network_acl = var.private_dedicated_network_acl
private_inbound_acl_rules = var.private_inbound_acl_rules
private_outbound_acl_rules = var.private_outbound_acl_rules

intra_dedicated_network_acl = var.intra_dedicated_network_acl
intra_inbound_acl_rules = var.intra_inbound_acl_rules
intra_outbound_acl_rules = var.intra_outbound_acl_rules

database_dedicated_network_acl = var.database_dedicated_network_acl
database_inbound_acl_rules = var.database_inbound_acl_rules
database_outbound_acl_rules = var.database_outbound_acl_rules

private_subnets = var.private_subnets

private_subnet_tags = merge(
Expand Down
Loading

0 comments on commit 9e3d9e9

Please sign in to comment.