sparse-intern-71089
10/31/2022, 5:01 PMlittle-cartoon-10569
10/31/2022, 8:04 PMRole.get()
, then presumably the Role isn't in your Pulumi state. So you won't be able to get the ID via Pulumi APIs/SDK. You'll need to use the AWS SDK to list the Roles and pick the right one.