Really enjoying Pulumi -- much more understandable...
# getting-started
m
Really enjoying Pulumi -- much more understandable than Terraform. One thing that's confusing for a new person -- it seems like there are often several different libraries that do more or less the same thing. There's
pulumi_aws
and also
pulumi_awsx
. There
pulumi_aws.iam
and also
pulumi_aws_iam
. Many other examples. Is there a simple way to think about this -- which libraries should we prefer? Can they all be mixed and matched?
l
Hello @mysterious-exabyte-66602, the difference between these are subtle: •
pulumi_aws
is a Pulumi package offering the individual resources which can be set up on AWS.
pulumi_aws.iam
is the IAM module from this same package focussed on IAM resources. Most often these are named "providers". • Packages like
pulumi_awsx
and
pulumi_aws_iam
offer Pulumi components. Components are compositions of individual resources, but they are distributed similarly to "providers". More info can be found in the introduction blog article on Pulumi Packages and multi-language components.