Skip to content

Commit

Permalink
DEVX-2695: sister PR to simplify getting SA (confluentinc#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybyzek authored Nov 29, 2021
1 parent 7b8fe4d commit e9ba48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ccloud/create-ccloud-workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ echo

export EXAMPLE="cp-demo"
ccloud::create_ccloud_stack true || exit 1
export SERVICE_ACCOUNT_ID=$(confluent kafka cluster list -o json | jq -r '.[0].name' | awk -F'-' '{print $4 "-" $5;}')
export SERVICE_ACCOUNT_ID=$(ccloud:get_service_account_from_current_cluster_name)
CONFIG_FILE=stack-configs/java-service-account-$SERVICE_ACCOUNT_ID.config
CCLOUD_CLUSTER_ID=$(confluent kafka cluster list -o json | jq -c -r '.[] | select (.name == "'"demo-kafka-cluster-$SERVICE_ACCOUNT_ID"'")' | jq -r .id)

Expand Down

0 comments on commit e9ba48d

Please sign in to comment.