This message was deleted.
# python
s
This message was deleted.
s
Copy code
AttributeError: module '<http://pulumi_aws.lb|pulumi_aws.lb>' has no attribute 'LoadBalancerAccessLogsArgs'
    error: an unhandled error occurred: Program exited with non-zero exit code: 1
huh, could have sworn there was no example when i check this last: https://www.pulumi.com/docs/reference/pkg/aws/alb/loadbalancer/#loadbalanceraccesslogs
regardless, i get the same error, the code i have is the same anyway :(
f
What are your package versions? I see this class in the SDK
s
hey thank you for your reply! i dont see this class in my IDE im on
pulumi_aws
3.5.0 Successfully installed pulumi-2.11.1 pulumi-aws-3.5.0
i see it now
trying again
it worked, thank you for the help. cant believe i was using an out of date version to the point this wasn’t even included.
f
This is because of the recent changes in Python tooling to add data classes (https://www.pulumi.com/blog/announcing-python-tooling-improvements/). Before, you’d pass in a dict (and you still can), but our examples show the more type-safe approach.
s
appreciate you diving deep w/ me on that. helps a lot.