https://pulumi.com logo
#general
Title
# general
d

damp-book-35965

03/26/2019, 7:11 PM
I'm trying to use the rolename which is the cluster.instanceRole of an EKS cluster which is of type OutputInstance<Role>..is it very misleading that when i do:
Copy code
cluster.instanceRole.apply(role => role.arn)
This fails as empty or undefined in case of console.log(role.arn) It shows me all the aws.iam.Role properties fields but none of them exist other than the role itself which is actually a string. So I'm wondering If it's wrongly characterized and just should be a string ?