Skip to content

Commit 6d2398c

Browse files
committed
Merge pull request #433 from CodeNow/eru-update
eru needs consul
2 parents a0c761d + 02b476a commit 6d2398c

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

ansible/group_vars/alpha-eru.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ container_envs: >-
1717
-e AWS_ACCESS_KEY={{ eru_aws_access_key_id }}
1818
-e AWS_ENVIRONMENT={{ eru_aws_environment }}
1919
-e AWS_SECRET_KEY={{ eru_aws_secret_access_key }}
20+
-e CONSUL_HOST={{ consul_host_address }}:{{ consul_api_port }}
2021
-e DOMAIN={{ eru_subdomain }}.{{ domain }}
2122
-e GITHUB_CLIENT_ID={{ eru_github_id }}
2223
-e GITHUB_CLIENT_SECRET={{ eru_github_secret }}

ansible/roles/ec2/sg_configure/tasks/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@
8181
from_port: "{{ consul_api_port }}"
8282
to_port: "{{ consul_api_ssl_port }}"
8383
group_id: "{{ sg_dock_services }}"
84+
- proto: tcp
85+
from_port: "{{ consul_api_port }}"
86+
to_port: "{{ consul_api_port }}"
87+
group_id: "{{ sg_app_services }}"
8488
- proto: tcp
8589
from_port: "{{ consul_api_port }}"
8690
to_port: "{{ consul_api_ssl_port }}"

0 commit comments

Comments
 (0)