|
@@ -20,24 +20,24 @@ resource "aws_security_group_rule" "vmray_server_https_in" {
|
|
|
security_group_id = aws_security_group.vmray_server_sg.id
|
|
|
}
|
|
|
|
|
|
-# Proxy? Ubuntu doesn't have it configured yet
|
|
|
-resource "aws_security_group_rule" "vmray_server_http_out" {
|
|
|
- type = "egress"
|
|
|
- from_port = 80
|
|
|
- to_port = 80
|
|
|
- protocol = "tcp"
|
|
|
- cidr_blocks = [ "0.0.0.0/0" ]
|
|
|
- security_group_id = aws_security_group.vmray_server_sg.id
|
|
|
-}
|
|
|
-
|
|
|
-resource "aws_security_group_rule" "vmray_server_https_out" {
|
|
|
- type = "egress"
|
|
|
- from_port = 443
|
|
|
- to_port = 443
|
|
|
- protocol = "tcp"
|
|
|
- cidr_blocks = [ "0.0.0.0/0" ]
|
|
|
- security_group_id = aws_security_group.vmray_server_sg.id
|
|
|
-}
|
|
|
+## Proxy - Ubuntu Advantage doesn't appear to respect it
|
|
|
+#resource "aws_security_group_rule" "vmray_server_http_out" {
|
|
|
+# type = "egress"
|
|
|
+# from_port = 80
|
|
|
+# to_port = 80
|
|
|
+# protocol = "tcp"
|
|
|
+# cidr_blocks = [ "0.0.0.0/0" ]
|
|
|
+# security_group_id = aws_security_group.vmray_server_sg.id
|
|
|
+#}
|
|
|
+#
|
|
|
+#resource "aws_security_group_rule" "vmray_server_https_out" {
|
|
|
+# type = "egress"
|
|
|
+# from_port = 443
|
|
|
+# to_port = 443
|
|
|
+# protocol = "tcp"
|
|
|
+# cidr_blocks = [ "0.0.0.0/0" ]
|
|
|
+# security_group_id = aws_security_group.vmray_server_sg.id
|
|
|
+#}
|
|
|
|
|
|
resource "aws_security_group_rule" "vmray_server_vnc_to_workers" {
|
|
|
type = "egress"
|