Skip to content

Commit 1f027c9

Browse files
committed
NRL-1385 make public temporarily. Will revert later
1 parent f8dc520 commit 1f027c9

File tree

2 files changed

+7
-7
lines changed
  • terraform/account-wide-infrastructure/modules

2 files changed

+7
-7
lines changed

terraform/account-wide-infrastructure/modules/ec2/ec2.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Create the Linux EC2 Web server
22
resource "aws_instance" "web" {
3-
associate_public_ip_address = false
4-
ami = data.aws_ami.windows-2019.id
5-
instance_type = var.instance_type
6-
key_name = aws_key_pair.ec2_key_pair.key_name
7-
subnet_id = var.subnet_id
8-
security_groups = var.security_groups
3+
# associate_public_ip_address = false
4+
ami = data.aws_ami.windows-2019.id
5+
instance_type = var.instance_type
6+
key_name = aws_key_pair.ec2_key_pair.key_name
7+
subnet_id = var.subnet_id
8+
security_groups = var.security_groups
99

1010
user_data = file("${path.module}/scripts/user_data.tpl")
1111

terraform/account-wide-infrastructure/modules/vpc/vpc.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ resource "aws_security_group" "sg" {
5959
from_port = 3389
6060
to_port = 3389
6161
protocol = "tcp"
62-
cidr_blocks = [var.vpc_public_subnets_cidr_block]
62+
cidr_blocks = ["0.0.0.0/0"]
6363
ipv6_cidr_blocks = ["::/0"]
6464
}
6565

0 commit comments

Comments
 (0)