We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This program:
import * as aws from "@pulumi/aws"; const ami = aws.getAmi({ owners: <any>undefined }); export let amiId = ami.then(a => a.id)
leads to:
Error: Invoke of 'aws:index/getAmi:getAmi' failed: undefined (undefined)
With verbose logs we see the real issue:
I0619 15:47:55.501296 17110 eventsink.go:63] eventSink::Debug(<{%reset%}>Invoke RPC finished: tok=aws:index/getAmi:getAmi; err: null, resp: ,,"owners": required field is not set<{%reset%}>)
We should be producing a useful error message here instead of undefined (undefined).
undefined (undefined)
The text was updated successfully, but these errors were encountered:
This is possibly related to https://github.com/pulumi/pulumi-terraform/issues/147, though I think it's different and possibly more important since we don't even report the error at all.
Sorry, something went wrong.
Fix invoke error reporting.
f5212e1
- Report all failures - Use appropriate member functions to access failure details Fixes pulumi/pulumi-terraform#396
Fix invoke error reporting. (#3048)
3c03ee3
pgavlin
Successfully merging a pull request may close this issue.
This program:
leads to:
With verbose logs we see the real issue:
We should be producing a useful error message here instead of
undefined (undefined)
.The text was updated successfully, but these errors were encountered: