summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2017-10-24 18:23:42 +0100
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2017-11-06 17:26:50 +0000
commit3f7a8f6f95397e6cd816adf91d02f3975a3d9f4f (patch)
treeb165eb450c7fa0e61d70aae2d98749e5e2e1fc25
parentb76058177d73b2973c29dcfecfabd8fe1ab9a6d2 (diff)
downloadinfrastructure-3f7a8f6f95397e6cd816adf91d02f3975a3d9f4f.tar.gz
Create sercurity group for Gitlab IRC bot
-rw-r--r--firewall.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/firewall.yaml b/firewall.yaml
index 2ef201be..e06b12e1 100644
--- a/firewall.yaml
+++ b/firewall.yaml
@@ -114,6 +114,22 @@
protocol: tcp
remote_ip_prefix: 0.0.0.0/0
+ - name: gitlab-bot security group
+ os_security_group:
+ name: gitlab-bot
+ description: Allow incoming TCP requests for gitlab-bot
+ state: present
+
+ - name: gitlab-bot security group -- allow incoming TCP on port 1337 for Gitlab IRC bot
+ os_security_group_rule:
+ security_group: gitlab-bot
+ direction: ingress
+ port_range_min: 1337
+ port_range_max: 1337
+ ethertype: IPv4
+ protocol: tcp
+ remote_ip_prefix: 0.0.0.0/0
+
- name: git-server security group
os_security_group:
name: git-server