From 4fd70322705887b52f12c61c85d8fa12c2e6b81c Mon Sep 17 00:00:00 2001 From: Jack Joy Date: Sun, 24 Sep 2023 17:12:48 +0100 Subject: [PATCH] bind staging and running phases explicitly --- .../apply_security_group_bindings_from_vpc_peering_json.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/concourse/scripts/apply_security_group_bindings_from_vpc_peering_json.rb b/concourse/scripts/apply_security_group_bindings_from_vpc_peering_json.rb index ee1d859cc4..b7af17e77d 100755 --- a/concourse/scripts/apply_security_group_bindings_from_vpc_peering_json.rb +++ b/concourse/scripts/apply_security_group_bindings_from_vpc_peering_json.rb @@ -46,7 +46,7 @@ exit(1) end if all_spaces == true - command = "cf bind-security-group #{sec_group_name} #{org_name}" + command = "cf bind-security-group #{sec_group_name} #{org_name} --lifecycle running && cf bind-security-group #{sec_group_name} #{org_name} --lifecycle staging" if dry_run puts "dry-run: #{command}" else