Hello guys, I am pretty much new to pulumi and I a...
# general
d
Hello guys, I am pretty much new to pulumi and I am facing errors when I am trying to understand basic code from the documents. https://www.pulumi.com/registry/packages/aws-iam/api-docs/assumablerole/ The below is the error that I am facing. I'll be happy if someone could help me out. I've even tried modifying the 4th line of the code by doing: assumable_role = aws.iam.AssumableRole() and it is throwing error about not finding Assumable Role. Kindly help and thanks in adv
b
import pulumi_aws.iam as iam?
d
Thank you for the response. I've now tried just using import pulumi_aws as aws and then at every line, I am doing something like this - user = aws.iam.User()
d
It looks like you need to install pulumi-aws-iam
d
Hello @dry-keyboard-94795, I tried doing that using pip3 install pulumi-aws-iam and still didn't work.
d
Does it show in the output of
pulumi about
?
b
it´s pulumi_aws_iam
d
@big-angle-30002 when installing,
-
and
_
are equivalent https://pypi.org/project/pulumi-aws-iam/