https://pulumi.com logo
#getting-started
Title
# getting-started
a

ambitious-computer-3093

08/18/2023, 5:13 AM
hey all just so i am clear are component resources in pulumi equivalent to modules in Terraform?
l

little-cartoon-10569

08/18/2023, 5:29 AM
Inasmuch as they're one way to organize resources, yes.
There's plenty of differences, since they're implemented as classes of your language of choice.
a

ambitious-computer-3093

08/18/2023, 5:30 AM
got it ...just did some further reading...i like the Class based implementation in Python
l

little-cartoon-10569

08/18/2023, 5:31 AM
Yep. You can use any language construct you like. For languages that don't require a class-per-file (like JS/TS), a file would probably be closer to the Terraform module concept.
a

ambitious-computer-3093

08/18/2023, 5:31 AM
thanks makes sense...i tend to do the class per file approach 🙂