mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-10 23:32:27 -05:00
Add cf-cli version check to create_service_account
This commit is contained in:
@@ -18,9 +18,16 @@ Options:
|
||||
-o <ORG NAME>: configure the organization to act on. Default: $org
|
||||
|
||||
Notes:
|
||||
OrgManager is required for terraform to create <env>-egress spaces
|
||||
* OrgManager is required for terraform to create <env>-egress spaces
|
||||
* Requires cf-cli@8
|
||||
"
|
||||
|
||||
cf_version=`cf --version | cut -d " " -f 3`
|
||||
if [[ $cf_version != 8.* ]]; then
|
||||
echo "$usage"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
|
||||
Reference in New Issue
Block a user