kyma-project / cli

Simple set of commands to manage a Kyma installation
Apache License 2.0
111 stars 118 forks source link

Add hints/reasons regarding entitlements when kyma provisioning fails #2026

Closed kwiatekus closed 2 months ago

kwiatekus commented 3 months ago

Description

As a CLI user I would like to learn about potential reasons why kyma provisioning failed when no entitlement present for kyma service in the desired region and plan

./kyma-cli provision --credentials-path=/Users/john/kk-cis-local-binding.txt --region=westeurope --plan azure --owner=john.doe@sap.com
Error:
  failed to provision kyma runtime

Error Details:
  User is unauthorized for this operation

See if we can classify hints per error message, i.e we know unauthorised could mean wrong credentials or missing entitlements

Related to

1992