https://pulumi.com logo
Title
b

billowy-horse-79629

11/14/2022, 1:54 PM
Hey all, I’m trying to figure out how this kind of attribute should look like - Here in PolicyAttachmentArgs -> groups - how should I pass this
input<input<>>
kind of attribute ?
trying to pass it a group name like this which doesn’t fit the type of
groups
:
c

clever-sunset-76585

11/14/2022, 2:01 PM
As the name suggests, it's a list of groups. So try
groups: [rootDeveloperGroup]
or
groups: [rootDeveloperGroup.name]
since the
groups
property takes a list of either a
string
or
Group
.
b

billowy-horse-79629

11/14/2022, 2:09 PM
oh, that was an awkward miss. Thank you so much for the quick response 🙂