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
Panic in flatten() function #31376
Comments
If it helps track it down, one of the statement's was null, because the aws_iam_policy_document datasource had no statement blocks |
While the
The panic is in this area:
|
Hmm TIL that a third-party contribution to one repository can potentially close an issue in another repository if the person who merges the PR (or the person who submitted the PR? unclear) happens to also have access to close an issue in that second repository. Anyway... it being fixed in my upstream repository doesn't fix it here until we merge a PR to adopt the newer version of that upstream library, so this is still open for now. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform 1.2.3
Getting a panic in the flatten() function:
Basically my code is trying to "merge" 3 data.aws_iam_policy_documents for the purpose of crafting an assume_role_policy on an aws_iam_role out of component parts:
and in the role module I am trying to stitch together like this:
The text was updated successfully, but these errors were encountered: