Skip to content

Instantly share code, notes, and snippets.

@git001
Created August 31, 2016 15:39
Show Gist options
  • Select an option

  • Save git001/9230f041aaa34d22ec82eb17d444550c to your computer and use it in GitHub Desktop.

Select an option

Save git001/9230f041aaa34d22ec82eb17d444550c to your computer and use it in GitHub Desktop.
zone-specs
# data structure as an imput for several playbooks/roles
---
application_zone_spec:
zone_name: "customer-1_prod_ht"
organization_name: "e.g. ORG"
country: "e.g. COUNTRY"
subnets:
- subnet-1
- subnet-2
ingress:
- type: internal-shared
hosts:
- instance_id: i-a
hostname: ip-10-191-0-111.aws-zone-1.compute.internal
- instance_id: i-b
hostname: ip-10-191-0-112.aws-zone-1.compute.internal
http_port: 1480
https_port: 14443
health_port: 14196
sni_port: 14445
no_sni_port: 14444
elb:
security_groups:
- name: "OP-ELB-ROUTER"
inbound_rules: ""
outbound_rules: ""
- type: external-shared
hosts:
- instance_id: i-a
hostname: ip-10-191-0-111.aws-zone-1.compute.internal
- instance_id: i-b
hostname: ip-10-191-0-112.aws-zone-1.compute.internal
http_port: 1080
https_port: 10443
health_port: 10196
sni_port: 10445
no_sni_port: 10444
elb:
security_groups:
- name: "OP-ELB-ROUTER"
inbound_rules: ""
outbound_rules: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment