@@ -11,14 +11,18 @@ stack_name: "{{ long_app_name }}-stack"
11
11
aws_profile : " {{ long_app_name }}"
12
12
cluster_name : " {{ stack_name }}-cluster"
13
13
14
- ansible_connection : local
15
- ansible_python_interpreter : " {{ ansible_playbook_python }}"
14
+ # ansible_connection: local
15
+ # ansible_python_interpreter: "{{ ansible_playbook_python }}"
16
16
17
17
k8s_cluster_name : " {{ cluster_name }}"
18
18
k8s_namespace : " {{ app_name }}-{{ env_name }}"
19
19
20
- # Caktus office IP address
21
- administrator_ip_cidr : " 70.62.97.170/32"
20
+ # IP addresses
21
+ administrator_ip_cidrs :
22
+ - 70.62.97.170/32 # Caktus office
23
+ - 107.15.45.253/32 # Tobias
24
+ - 47.230.11.28/32 # Ronard
25
+ - 107.223.185.195/32 # Colin
22
26
23
27
# CloudFormation Outputs
24
28
# These values are taken from the CF 'Output' tab
@@ -54,9 +58,9 @@ cloudformation_stack:
54
58
55
59
template_parameters :
56
60
UseAES256Encryption : " true"
57
- AdministratorIPAddress : " {{ administrator_ip_cidr }}"
58
- BastionAMI : " " # Needed - don't know how to get it.
59
- BastionKeyName : ron_hip
61
+ AdministratorIPAddress : " {{ administrator_ip_cidrs[0] }}" # Stack allows only single IP here to SSH to bastion
62
+ BastionAMI : " ami-0ad554caf874569d2 " # https://cloud-images.ubuntu.com/locator/ec2/ [us-east-1 amd64]
63
+ BastionKeyName : rluna_hip
60
64
BastionInstanceType : t3.small # Is this a proper size?
61
65
BastionType : SSH
62
66
CustomerManagedCmkArn : " "
@@ -77,7 +81,7 @@ cloudformation_stack:
77
81
DatabasePassword : " {{ admin_database_password }}"
78
82
DatabaseMultiAZ : " true"
79
83
EksClusterName : " philly-hip-stack-cluster"
80
- EksPublicAccessCidrs : " {{ administrator_ip_cidr }}"
84
+ EksPublicAccessCidrs : " {{ administrator_ip_cidrs | join(',') }}"
81
85
tags :
82
86
Environment : " {{ app_name }}"
83
87
0 commit comments