Join Slack
Powered by
How would one use data sources like in terraform <...
# general
s
some-doctor-62800
08/26/2019, 2:51 PM
How would one use data sources like in terraform
https://www.terraform.io/docs/configuration/data-sources.html
?
b
busy-umbrella-36067
08/26/2019, 2:53 PM
There's usually methods on each provider that are prefixed with
get
busy-umbrella-36067
08/26/2019, 2:53 PM
aws.iam.getRole()
s
some-doctor-62800
08/26/2019, 2:55 PM
Thanks so much, have entirely overlooked it
b
broad-dog-22463
08/26/2019, 2:55 PM
https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/aws/ec2/#getInstance
as an example
4
Views
Open in Slack
Previous
Next