is a Pulumi object that loads a Pulumi group object. It isn't often useful, but occasionally you want to have a Pulumi object managed in one Project/stack, and used in a different one. This is the method that allows that.
little-cartoon-10569
03/23/2021, 7:35 PM
getGroup
is a wrapper around the AWS SDK getGroup function. It doesn't return a Pulumi object, it returns a GetGroupResult. It's handy for when you want information about an object that isn't managed by Pulumi, as in this case.
s
salmon-ghost-86211
03/23/2021, 9:49 PM
Thank you for the explanation. Also, I didn't notice that
getGroup
returns a GetGroupResult. I watch closer next time.
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.