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
hallowed-horse-57635
03/29/2024, 2:13 PM
Suggest start with documentation.
f
fast-sandwich-30809
03/29/2024, 5:08 PM
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
little-cartoon-10569
04/01/2024, 7:34 PM
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).