Skip to content

Commit

Permalink
Merge pull request #606 from meroxa/env-preflight-err-steps
Browse files Browse the repository at this point in the history
Include next steps for after addressing preflight error
  • Loading branch information
dianadoherty committed Jan 30, 2023
2 parents 2072559 + bd71649 commit 0d8aba1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/meroxa/root/environments/create.go
Expand Up @@ -137,7 +137,8 @@ func (c *Create) Execute(ctx context.Context) error {
if environment.Status.State != meroxa.EnvironmentStatePreflightSuccess {
details := display.EnvironmentPreflightTable(environment)
c.logger.Errorf(ctx,
"Environment %q could not be provisioned because it failed the preflight checks\n%s\n",
"Environment %q could not be provisioned because it failed the preflight checks\n%s\n"+
"After adding the missing permissions run: `meroxa environments repair environment_name_or_uuid`\n",
environment.Name,
details)
} else {
Expand Down

0 comments on commit 0d8aba1

Please sign in to comment.