---
- type: replace
  path: /instance_groups/-
  value:
    name: vizzini
    lifecycle: errand
    azs:
    - z1
    instances: 1
    vm_type: m3.medium
    stemcell: default
    update:
      max_in_flight: 1
      serial: true
    networks:
    - name: default
    jobs:
    - name: vizzini
      release: diego
      properties:
        vizzini:
          bbs:
            ca_cert: "((diego_bbs_client.ca))"
            client_cert: "((diego_bbs_client.certificate))"
            client_key: "((diego_bbs_client.private_key))"
          ssh:
            proxy_secret: "((ssh_proxy_diego_credentials))"
          routable_domain_suffix: "((system_domain))"
    - name: consul_agent
      release: consul
      consumes:
        consul: {from: consul_server}
        consul_common: nil
        consul_server: nil
        consul_client: nil
- type: replace
  path: /instance_groups/name=diego-brain/jobs/name=ssh_proxy/properties/diego/ssh_proxy/enable_diego_auth?
  value: true
- type: replace
  path: /instance_groups/name=diego-brain/jobs/name=ssh_proxy/properties/diego/ssh_proxy/diego_credentials?
  value: "((ssh_proxy_diego_credentials))"
- type: replace
  path: /variables/-
  value:
    name: ssh_proxy_diego_credentials
    type: password

---
- type: replace
  path: /instance_groups/-
  value:
    name: vizzini
    lifecycle: errand
    azs:
    - z1
    instances: 1
    vm_type: m3.medium
    stemcell: default
    update:
      max_in_flight: 1
      serial: true
    networks:
    - name: default
    jobs:
    - name: vizzini
      release: diego
      properties:
        vizzini:
          bbs:
            ca_cert: "((diego_bbs_client.ca))"
            client_cert: "((diego_bbs_client.certificate))"
            client_key: "((diego_bbs_client.private_key))"
          ssh:
            proxy_secret: "((ssh_proxy_diego_credentials))"
          routable_domain_suffix: "((system_domain))"
    - name: consul_agent
      release: consul
      consumes:
        consul: {from: consul_link}
        consul_common: nil
        consul_server: nil
        consul_client: nil
- type: replace
  path: /instance_groups/name=diego-brain/jobs/name=ssh_proxy/properties/diego/ssh_proxy/enable_diego_auth?
  value: true
- type: replace
  path: /instance_groups/name=diego-brain/jobs/name=ssh_proxy/properties/diego/ssh_proxy/diego_credentials?
  value: "((ssh_proxy_diego_credentials))"
- type: replace
  path: /variables/-
  value:
    name: ssh_proxy_diego_credentials
    type: password

Change consul_server link to consul_link
Change consul_server link to consul_link

[#139395095]

Signed-off-by: Nima Kaviani <0ebde517669f70c2aec92dc89d4950413b825ec0@us.ibm.com>
