Channels
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
general
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#general
Title
s
swift-island-2275
10/27/2021, 6:40 PM
Hi, I've a general question regarding Pulumi, does Pulumi have a concept of data source ? (in Terraform, we use data keywoard for that,
https://www.terraform.io/docs/language/data-sources/index.html
)
f
freezing-van-87649
10/27/2021, 6:43 PM
pulumi has resources and functions
a function is basically the equivalent of a datasource
check out the ec2 docs:
https://www.pulumi.com/registry/packages/aws/api-docs/ec2/
you have a bunch of resources, and bunch of
Get*
functions
(which I'm pretty sure are terraform data sources under the hood)
r
red-match-15116
10/27/2021, 6:45 PM
Yes, data sources in tf map to functions in pulumi
👍 1
s
swift-island-2275
10/27/2021, 6:52 PM
I see , thanks for info
Post