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

'AwaitableGetOrganizationalUnitsResult' object has no attribute 'childrens' #2840

Closed
ruben-janssens opened this issue Sep 28, 2023 · 1 comment
Labels
kind/bug Some behavior is incorrect or out of spec resolution/by-design This issue won't be fixed because the functionality is working as designed

Comments

@ruben-janssens
Copy link

What happened?

The returned object of the get_organizational_units() function no longer has the childrens property.

Example

AttributeError: 'AwaitableGetOrganizationalUnitsResult' object has no attribute 'childrens'

Output of pulumi about

CLI
Version 3.84.0
Go Version go1.21.1
Go Compiler gc

Plugins
NAME VERSION
aws 6.2.1
python 3.10.12

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@ruben-janssens ruben-janssens added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Sep 28, 2023
@mikhailshilkov mikhailshilkov added resolution/by-design This issue won't be fixed because the functionality is working as designed and removed needs-triage Needs attention from the triage team labels Sep 28, 2023
@mikhailshilkov
Copy link
Member

Hi @ruben-janssens

We fixed the name from childrens to children in v6 of the provider, it's called out in our Migration Guide: https://www.pulumi.com/registry/packages/aws/how-to-guides/6-0-migration/#property-name-of-organizationsgetorganizationalunits-resource-changed-from-childrens-to-children

Please change your code accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec resolution/by-design This issue won't be fixed because the functionality is working as designed
Projects
None yet
Development

No branches or pull requests

2 participants