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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error messages when a resource is misspelled. #544

Open
VenelinMartinov opened this issue Jan 11, 2024 · 0 comments
Open

Better error messages when a resource is misspelled. #544

VenelinMartinov opened this issue Jan 11, 2024 · 0 comments
Labels
kind/enhancement Improvements or new features

Comments

@VenelinMartinov
Copy link

Hello!

  • Vote on this issue by adding a 馃憤 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

It's a bit hard to find out the right tokens for resources in YAML than in other languages - there's no SDK to look them up in.

It'd be great if the runtime suggested possible tokens similar to the input.

For example instead of:

error resolving type of resource serviceAccount: unable to find resource type "gcp:serviceaccount:Account" in resource provider "gcp"

it could say:

error resolving type of resource serviceAccount: unable to find resource type "gcp:serviceaccount:Account" in resource provider "gcp"
Did you mean "gcp:serviceAccount:Account"?

Affected area/feature

@VenelinMartinov VenelinMartinov added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Jan 11, 2024
@justinvp justinvp removed the needs-triage Needs attention from the triage team label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

2 participants