diff options
| author | Paul Buetow <paul@buetow.org> | 2023-12-23 12:14:51 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2023-12-23 12:14:51 +0200 |
| commit | a8ee6769039da289a842e72eacc72caffdf17f05 (patch) | |
| tree | 259d4063091e4cc9d9eea0209ec232b73f87b587 | |
| parent | e9affe73fd5666cfe4429207b83bb34a8441c440 (diff) | |
IPv6 works for EC2
| -rw-r--r-- | org-buetow-base/network.tf | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/org-buetow-base/network.tf b/org-buetow-base/network.tf index 2fd159a..ad95ff4 100644 --- a/org-buetow-base/network.tf +++ b/org-buetow-base/network.tf @@ -76,10 +76,11 @@ resource "aws_security_group" "allow_ssh" { vpc_id = aws_vpc.vpc.id ingress { - from_port = 22 - to_port = 22 - protocol = "tcp" - cidr_blocks = ["0.0.0.0/0"] + from_port = 22 + to_port = 22 + protocol = "tcp" + cidr_blocks = ["0.0.0.0/0"] + ipv6_cidr_blocks = ["::/0"] } } |
