Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Pulumi error messages to reflect twilio:infra #10

Open
bermudezmt opened this issue Mar 3, 2021 · 1 comment
Open

Update Pulumi error messages to reflect twilio:infra #10

bermudezmt opened this issue Mar 3, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@bermudezmt
Copy link
Collaborator

We should do a sweep of where we're rendering Pulumi messages which can be confusing to users working with the infra-as-code Twilio CLI plugin. A few examples I've found:

twilio infra:new
Your new project is ready to go! ✨
To perform an initial deployment, run 'pulumi up'

And

twilio infra:preview --stack dev4
 »

Error running Pulumi CLI command.
 ** Command failed:  TWILIO_ACCOUNT_SID=AC71158ba150ae37bdb166b62c409f12f2 TWILIO_AUTH_TOKEN=undefined TWILIO_USERNAME=SKee90ad4b938c04ae4586c49a3235fb19 TWILIO_PASSWORD=HynJTQaAGRHa3w5lJdTQYaLvpMNRhyOr pulumi preview --stack=dev4
error: no Pulumi.yaml project file found (searching upwards from /Users/mbermudez/repos/plugin-twilio-infra/iac-part-three). If you have not created a project yet, use `pulumi new` to do so

 ›   Error: EEXIT: 1
 ›   Code: EEXIT
@vernig vernig added the enhancement New feature or request label Mar 9, 2021
@vernig
Copy link
Collaborator

vernig commented Mar 9, 2021

Thanks @bermudezmt for now we have some limitations on how we execute a commands within the node shell, but we can add it to enhancement for a future release when we will wrap the Pulumi execution completely into the CLI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants