Skip to content

Commit

Permalink
Allow internal ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Jan 30, 2024
1 parent c8add80 commit d64c1c0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Playground

on:
workflow_dispatch:
push:
paths:
- .github/workflows/playground.yml

jobs:
playground:
Expand Down
21 changes: 20 additions & 1 deletion vpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

module "vpc" {
source = "terraform-aws-modules/vpc/aws"
version = "5.1.0"
version = "5.1.2"

name = "vpc-${var.name}"
cidr = "10.0.0.0/16"
Expand Down Expand Up @@ -41,5 +41,24 @@ module "vpc" {
private_subnet_ipv6_prefixes = [3, 4, 5]
database_subnet_ipv6_prefixes = [6, 7, 8]

default_security_group_ingress = [
{
description = "Allow all"
protocol = -1
self = true
}
]

default_security_group_egress = [
{
description = "Allow all"
protocol = -1
from_port = 0
to_port = 0
cidr_blocks = "0.0.0.0/0"
ipv6_cidr_blocks = "::/0"
}
]

tags = local.tags
}

0 comments on commit d64c1c0

Please sign in to comment.