59 lines
No EOL
1.2 KiB
HCL
59 lines
No EOL
1.2 KiB
HCL
region = "eu01"
|
|
service_account_token = ""
|
|
project_id = ""
|
|
|
|
security_groups = {
|
|
ssh_ingress_group = {
|
|
name = "ssh-ingress-group"
|
|
description = "ALLOW SSH ingress"
|
|
rules = [
|
|
{
|
|
description = "SSH RULE 1"
|
|
direction = "ingress"
|
|
ether_type = "IPv4"
|
|
ip_range = "0.0.0.0/0"
|
|
protocol = {
|
|
name = "tcp"
|
|
}
|
|
port_range = {
|
|
min = 22
|
|
max = 22
|
|
}
|
|
},
|
|
]
|
|
},
|
|
|
|
web_traffic_group = {
|
|
name = "web-traffic-group"
|
|
description = "ALLOW WEB TRAFFIC ingress"
|
|
rules = [
|
|
{
|
|
description = "ALLOW ALL 80"
|
|
direction = "ingress"
|
|
ether_type = "IPv4"
|
|
ip_range = "0.0.0.0/0"
|
|
protocol = {
|
|
name = "tcp"
|
|
}
|
|
port_range = {
|
|
min = 80
|
|
max = 80
|
|
}
|
|
},
|
|
{
|
|
description = "ALLOW ALL 443"
|
|
direction = "ingress"
|
|
ether_type = "IPv4"
|
|
ip_range = "0.0.0.0/0"
|
|
protocol = {
|
|
name = "tcp"
|
|
}
|
|
port_range = {
|
|
min = 443
|
|
max = 443
|
|
}
|
|
},
|
|
]
|
|
},
|
|
|
|
} |