Can you suggest me how to learn Pulumi on a best w...
# getting-started
p
Can you suggest me how to learn Pulumi on a best way, I've just started with that. i would like to learn Pulumi & AWS
h
Suggest start with documentation.
f
1. Set a goal 2. Build a prototype 3. Solve problems until it works! Your first project / goal / prototype doesn't have to be hard; just creating an s3 bucket would be good enough, as it requires getting everything installed and setup and "off the ground". From there, being able to deploy a lambda function or EC2 instance or policy document fragment would be good to know.
l
Read and re-read the section of the docs on outputs. https://www.pulumi.com/docs/concepts/inputs-outputs/#outputs Become comfortable with futures as programming concepts (https://en.wikipedia.org/wiki/Futures_and_promises -- don't read this, it's too computer-sciency 🙂 ). The Pulumi programs that we (as Pulumi users) write are run early in the process; Outputs are resolved late in the process, when Pulumi is deploying the calculated state to the cloud. Your code can't resolve a future value (Output) until that later time (deployment time).