-
Notifications
You must be signed in to change notification settings - Fork 76
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
Failure to serialize YAML #58
Comments
The fact that |
As well as fixing the error reporting, it's not clear whether this indicates user error (and what user error), or whether it's a bug in the library that allows |
Also having this issue. So also user error or a bug :-) |
OK so in my particular case it was user error. We each develop in our own AWS account and my account was not provisioned with a couple of the roles I was trying to map into the cluster pulumi-eks/nodejs/eks/cluster.ts Line 315 in 651c61c
Line 317 can then possibly return bad objects. pulumi-eks/nodejs/eks/cluster.ts Line 317 in 651c61c
Line 326 pulumi-eks/nodejs/eks/cluster.ts Line 326 in 651c61c
that does the userMappings checks for undefined and would skip that block. So this is a use case where the code is assuming a good aws.iam.Role because under default conditions (where no roleMappings are defined), the program operates OK with an empty array,but is not checking if I pass it a bad/invalid object. |
Could you share any more details on this? Do you mean you were using |
Correct. A few of our accounts were hand-spun due to time constraints. I had assumed a couple of roles had been created when in fact they had not. |
Got it. The root cause of that is pulumi/pulumi-terraform#262 which leads to the We will be looking into fixing that issue, as well as improving the error reporting on the YAML serialization in this package. |
A user reported that they started seeing the error below in CI (they believe with no code changes).
The text was updated successfully, but these errors were encountered: