? Using typescript btw.
Every time I try to add something like that I see this error. But I would like to have a module it can be reused, and providing a list I can reuse that for many purposes.
Copy code
error: gcp:serviceaccount/iAMMember:IAMMember resource 'prod-sa-runner' has a problem: Attribute must be a single value, not a list. Examine values at 'prod-sa-runner.role'.
d
dry-keyboard-94795
04/29/2024, 1:32 PM
You can iterate over the list to create multiple IAMMember resources
b
better-lunch-24345
04/29/2024, 1:34 PM
Can you give me and example how to do it? Because I tried like that and couldn't
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.