is there a bug in aws 7.3 provider? i'm trying to ...
# aws
i
is there a bug in aws 7.3 provider? i'm trying to use the following in my stack's .yaml:
Copy code
config:
  aws:assumeRole:
    roleArn: arn:aws:iam::<accountid>:role/some-role
but it fails with
panic: interface conversion: interface {} is string, not []resource.PropertyValue
downgrading to 6.83 works fine
m
I think this was one of the breaking changes in 7+. It is now
assumeRoles
with a collection to allow for role chaining.
💡 1
i
probably the docs weren't updated to reflect this? I am not sure. I just know this because I am taking advantage of role chaining and was waiting for 7.x to land 😄
a
Hey Ilya, this very much looks like a bug - can you please report this in https://github.com/pulumi/pulumi-aws A program which reproduces the issue would be very valuable!
👎 1
g
I ran into this issue too. I also try to upgrade from v6 to v7.
n
Can you try with
Copy code
config:
  aws:assumeRoles:
    - roleArn: arn:aws:iam::<accountid>:role/some-role
☝️ 1
g
When I update my config to the structure that Cory provided the
pulumi up --refresh --run-program
works again.
🙌 1
n
Thanks for confirming! I'll work on a fix so that we don't panic here and also update the docs to reflect the new types
🙏 1