mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-08 06:18:24 -04: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
|
-o <ORG NAME>: configure the organization to act on. Default: $org
|
||||||
|
|
||||||
Notes:
|
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 -e
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user