Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
terraform fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
iuriaranda committed Nov 10, 2017
1 parent 1c069e6 commit e59b0dc
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions teleport-security-groups/bastion.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ resource "aws_security_group_rule" "teleport_auth_from_nodes" {
}

resource "aws_security_group_rule" "teleport_auth_from_proxy_self" {
type = "ingress"
from_port = 3025
to_port = 3025
protocol = "tcp"
self = "true"
security_group_id = "${aws_security_group.teleport_bastion.id}"
type = "ingress"
from_port = 3025
to_port = 3025
protocol = "tcp"
self = "true"
security_group_id = "${aws_security_group.teleport_bastion.id}"
}

resource "aws_security_group_rule" "teleport_proxy_to_auth_self" {
type = "egress"
from_port = 3025
to_port = 3025
protocol = "tcp"
self = "true"
security_group_id = "${aws_security_group.teleport_bastion.id}"
type = "egress"
from_port = 3025
to_port = 3025
protocol = "tcp"
self = "true"
security_group_id = "${aws_security_group.teleport_bastion.id}"
}

########## Proxy related rules
Expand Down Expand Up @@ -89,20 +89,20 @@ resource "aws_security_group_rule" "teleport_proxy_to_nodes" {
}

resource "aws_security_group_rule" "teleport_proxy_to_nodes_self" {
type = "egress"
from_port = 3022
to_port = 3022
protocol = "tcp"
self = "true"
security_group_id = "${aws_security_group.teleport_bastion.id}"
type = "egress"
from_port = 3022
to_port = 3022
protocol = "tcp"
self = "true"
security_group_id = "${aws_security_group.teleport_bastion.id}"
}

############## Node related rules
resource "aws_security_group_rule" "teleport_nodes_from_proxy_self" {
type = "ingress"
from_port = 3022
to_port = 3022
protocol = "tcp"
self = "true"
security_group_id = "${aws_security_group.teleport_bastion.id}"
type = "ingress"
from_port = 3022
to_port = 3022
protocol = "tcp"
self = "true"
security_group_id = "${aws_security_group.teleport_bastion.id}"
}

0 comments on commit e59b0dc

Please sign in to comment.