you can set providers on resources, and inside that provider you can specify the AWS account. I don't think we have an example to hand, but you can see examples of using a provider here:
https://github.com/pulumi/examples/search?q=aws.Provider
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.