Skip to content

Commit

Permalink
Restored sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Kralizek committed Dec 3, 2023
1 parent bf57d6f commit e66578b
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions examples/full/main.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
locals {
name = "fck-nat-example"
vpc_cidr = "10.255.255.0/24"

trusted_networks = [
"123.123.123.123/32"
]
}

data "aws_region" "current" {}
Expand All @@ -21,17 +17,4 @@ module "fck-nat" {
route_tables_ids = {
"private" = aws_route_table.private.id
}

additional_security_group_ids = [aws_security_group.additional_security_group.id]
}

resource "aws_security_group" "additional_security_group" {
vpc_id = aws_vpc.main.id

ingress {
from_port = 22
to_port = 22
protocol = "tcp"
cidr_blocks = local.trusted_networks
}
}
}

0 comments on commit e66578b

Please sign in to comment.