---

- type: replace
  path: /addons/name=bosh-dns-aliases/jobs/name=bosh-dns-aliases/properties/aliases/domain=reverse-log-proxy.service.cf.internal/targets/instance_group=log-api/deployment
  value: ((deploy_env))

- type: replace
  path: /instance_groups/name=asapi/jobs/name=route_registrar/consumes/nats/deployment
  value: ((deploy_env))

- type: replace
  path: /instance_groups/name=asapi/jobs/name=loggregator_agent/consumes/doppler/deployment
  value: ((deploy_env))

---

- type: replace
  path: /addons/name=bosh-dns-aliases/jobs/name=bosh-dns-aliases/properties/aliases/domain=reverse-log-proxy.service.cf.internal/targets/instance_group=log-api/deployment
  value: ((deploy_env))

- type: replace
  path: /addons/name=bosh-dns-aliases/jobs/name=bosh-dns-aliases/properties/aliases/domain=nats.service.cf.internal/targets/instance_group=nats/deployment
  value: ((deploy_env))

- type: replace
  path: /addons/name=bosh-dns-aliases/jobs/name=bosh-dns-aliases/properties/aliases/domain=_.nats.service.cf.internal/targets/instance_group=nats/deployment
  value: ((deploy_env))

- type: replace
  path: /instance_groups/name=asapi/jobs/name=route_registrar/consumes/nats/deployment
  value: ((deploy_env))

- type: replace
  path: /instance_groups/name=asapi/jobs/name=loggregator_agent/consumes/doppler/deployment
  value: ((deploy_env))

- type: replace
  path: /instance_groups/name=asactors/jobs/name=route_registrar/consumes/nats/deployment
  value: ((deploy_env))

- type: replace
  path: /instance_groups/name=asmetrics/jobs/name=route_registrar/consumes/nats/deployment
  value: ((deploy_env))

- type: replace
  path: /instance_groups/name=asnozzle/jobs/name=route_registrar/consumes/nats/deployment
  value: ((deploy_env))
  
Add links for new instance group jobs
Add links for new instance group jobs

As a result of changes introduced in the latest version of app-autoscaler some new links are introduced, these target cf as the deployment. We don't use the default name of cf in order to avoid collisions in the same AWS account, as a result we need to override it with an ops file.
