Study journal · Infrastructure · 7 min read
My Notes on Infrastructure as Code
I’m learning how infrastructure-as-code tools describe resources in files instead of relying on a series of manual console changes. That makes the intended setup easier to read, review, and repeat.
Describe the setup clearly
A configuration plan gives a preview of proposed changes. I’m using small examples to understand how a text-based plan makes those changes easier to inspect before they are applied.
Reuse with modules
Modules group related configuration so the same pattern can be reused. I’m studying how inputs and outputs make a module easier to adapt without hiding what it creates.
Notice differences over time
A plan can also reveal when the current environment differs from the configuration. I’m noting how state, review steps, and clear naming help make those differences easier to reason about.
A practice exercise
Read a setup from three angles.
I’m using a small application sketch to connect the words in a configuration file with the resources they describe. The aim is to explain the intended environment before making it more complicated.
- 01
Resources
List the compute, networking, and storage in the example. Describe why each part is present.
- 02
Relationships
Draw which resources connect and identify the values passed between modules.
- 03
Proposed changes
Read the plan and check whether the changes match the intention recorded in the project notes.
Questions to carry forward
Keep the description understandable.
- Do the resource names explain their purpose?
- Are module inputs and outputs clear enough to follow?
- Can I explain a difference between the configuration and the current environment?
These questions connect back to the same habit in my student projects: start with a small scope, make the relationships visible, and record what still needs investigation.