gorgeous-minister-41131
01/20/2022, 2:04 AMFile "/Users/tfarvour/.local/share/virtualenvs/pulumi-Miy8VggM/lib/python3.9/site-packages/pulumi_aws/iam/get_policy_document.py", line 414, in get_policy_document
id=__ret__.id,
AttributeError: 'NoneType' object has no attribute 'id'
TL;DR: anyone have any guidance other than https://www.pulumi.com/blog/unit-test-infrastructure/ this for mocking the getter methods? I’m beginning to think that is the root of the issue here…iam_okta_policy_doc = pulumi_aws.iam.get_policy_document(
statements=[
pulumi_aws.iam.GetPolicyDocumentStatementArgs(
sid="OktaSSOIAMUserAccountRoleLookup",
actions=["iam:ListRoles", "iam:ListAccountAliases"],
resources=["*"],
)
],
)