Open up port 22 so Travis CI can deploy to it
This commit is contained in:
parent
8ed24a65d9
commit
4879004fe4
|
@ -18,14 +18,6 @@
|
||||||
|
|
||||||
[infra.variable.ami.default]
|
[infra.variable.ami.default]
|
||||||
us-east-1 = "ami-9bce7af0"
|
us-east-1 = "ami-9bce7af0"
|
||||||
[infra.variable.ip_all]
|
|
||||||
default = "0.0.0.0/0"
|
|
||||||
[infra.variable.ip_kevin]
|
|
||||||
default = "62.163.187.106/32"
|
|
||||||
[infra.variable.ip_marius]
|
|
||||||
default = "84.146.0.0/16"
|
|
||||||
[infra.variable.ip_tim]
|
|
||||||
default = "24.134.75.132/32"
|
|
||||||
[infra.variable.region]
|
[infra.variable.region]
|
||||||
default = "us-east-1"
|
default = "us-east-1"
|
||||||
|
|
||||||
|
@ -58,21 +50,17 @@
|
||||||
description = "Infra tusd"
|
description = "Infra tusd"
|
||||||
name = "fw-tusd-main"
|
name = "fw-tusd-main"
|
||||||
[[infra.resource.aws_security_group.fw-tusd-main.ingress]]
|
[[infra.resource.aws_security_group.fw-tusd-main.ingress]]
|
||||||
cidr_blocks = ["${var.ip_all}"]
|
cidr_blocks = [ "0.0.0.0/0" ]
|
||||||
from_port = 8080
|
from_port = 8080
|
||||||
protocol = "tcp"
|
protocol = "tcp"
|
||||||
to_port = 8080
|
to_port = 8080
|
||||||
[[infra.resource.aws_security_group.fw-tusd-main.ingress]]
|
[[infra.resource.aws_security_group.fw-tusd-main.ingress]]
|
||||||
cidr_blocks = ["${var.ip_all}"]
|
cidr_blocks = [ "0.0.0.0/0" ]
|
||||||
from_port = 80
|
from_port = 80
|
||||||
protocol = "tcp"
|
protocol = "tcp"
|
||||||
to_port = 80
|
to_port = 80
|
||||||
[[infra.resource.aws_security_group.fw-tusd-main.ingress]]
|
[[infra.resource.aws_security_group.fw-tusd-main.ingress]]
|
||||||
cidr_blocks = [
|
cidr_blocks = [ "0.0.0.0/0" ]
|
||||||
"${var.ip_kevin}",
|
|
||||||
"${var.ip_marius}",
|
|
||||||
"${var.ip_tim}",
|
|
||||||
]
|
|
||||||
from_port = 22
|
from_port = 22
|
||||||
protocol = "tcp"
|
protocol = "tcp"
|
||||||
to_port = 22
|
to_port = 22
|
||||||
|
|
Loading…
Reference in New Issue