File tree Expand file tree Collapse file tree 2 files changed +0
-35
lines changed
terraform/account-wide-infrastructure/modules/vpc Expand file tree Collapse file tree 2 files changed +0
-35
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,6 @@ output "private_subnet_id" {
66 value = aws_subnet. private_subnet . id
77}
88
9- output "security_group" {
10- value = [aws_security_group . sg . id ]
11- }
12-
139output "powerbi_gw_security_group_id" {
1410 value = aws_security_group. powerbi_gw_sg . id
1511}
Original file line number Diff line number Diff line change @@ -77,37 +77,6 @@ resource "aws_route_table_association" "private_rt_asso" {
7777 route_table_id = aws_route_table. private_rt . id
7878}
7979
80- resource "aws_security_group" "sg" {
81- name = " allow_ssh_http"
82- description = " Allow ssh http inbound traffic"
83- vpc_id = aws_vpc. app_vpc . id
84-
85- ingress {
86- from_port = 3389
87- to_port = 3389
88- protocol = " tcp"
89- cidr_blocks = [" 0.0.0.0/0" ]
90- ipv6_cidr_blocks = [" ::/0" ]
91- }
92-
93- ingress {
94- description = " HTTP from VPC"
95- from_port = 80
96- to_port = 80
97- protocol = " tcp"
98- cidr_blocks = [" 0.0.0.0/0" ]
99- ipv6_cidr_blocks = [" ::/0" ]
100- }
101-
102- egress {
103- from_port = 0
104- to_port = 0
105- protocol = " -1"
106- cidr_blocks = [" 0.0.0.0/0" ]
107- ipv6_cidr_blocks = [" ::/0" ]
108- }
109- }
110-
11180resource "aws_security_group" "powerbi_gw_sg" {
11281 name = " powerbi-gw-sg"
11382 description = " Only allow egress traffic"
You can’t perform that action at this time.
0 commit comments