From 68c4790bea5a68f6a008071e10b9375839d2d814 Mon Sep 17 00:00:00 2001
From: Cai Cooper <cagiti@users.noreply.github.com>
Date: Wed, 26 Oct 2022 17:58:18 +0100
Subject: [PATCH] Revert "Revert "Revert "Override nats mbus endpoint for
 deployment updates"""

Seems that a bad test run indicated a failure when it should have passed,
this operations replacement should not be required within the cpi config.

This reverts commit 21b555737b417c7a3600682a185355245db8c263.
---
 resource/assets/aws/cpi.yml | 4 ----
 resource/assets/gcp/cpi.yml | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/resource/assets/aws/cpi.yml b/resource/assets/aws/cpi.yml
index 8dec8e698..0e788f2b7 100644
--- a/resource/assets/aws/cpi.yml
+++ b/resource/assets/aws/cpi.yml
@@ -72,7 +72,3 @@
   value:
     name: registry_password
     type: password
-
-- path: /instance_groups/name=bosh/properties/agent/mbus?
-  type: replace
-  value: nats://((internal_ip)):4222
diff --git a/resource/assets/gcp/cpi.yml b/resource/assets/gcp/cpi.yml
index fb1589534..3e3745cfc 100644
--- a/resource/assets/gcp/cpi.yml
+++ b/resource/assets/gcp/cpi.yml
@@ -65,7 +65,3 @@
 - type: replace
   path: /cloud_provider/properties/ntp
   value: *ntp
-
-- path: /instance_groups/name=bosh/properties/agent/mbus?
-  type: replace
-  value: nats://((internal_ip)):4222