https://pulumi.com logo
Title
g

gifted-pizza-8238

10/23/2022, 9:28 AM
Hi, I’m pretty new to Pulumi. Wanted to know if there is a way of creating my own Abstract components which can be implemented by different resources on different cloud providers. For instance, I’d like to have an abstract “Account” resource that on AWS it is represented as an AWS account, but on GCP is represented as a Project. Then when I’m defining my infra I want to reference it as the abstract “Account” resource, and Pulumi would know what resources to create - AWS accounts or GCP projects, based on some kind of cloud provider argument
c

cold-toothbrush-60276

10/23/2022, 9:55 AM
Short answer is yes you can; you are writing software abstractions in the end…
g

gifted-pizza-8238

10/23/2022, 4:11 PM
Thanks @billowy-army-68599!