Summary
We have discussed a lot in this chapter; we have talked about several similar concepts but have taken slightly different approaches depending on the tool we chose.
For me, the biggest takeaways from this chapter are as follows:
- Version control: Use version control to track changes and collaborate with your team and colleagues easily.
- Documentation and consistency: Ensure that your infrastructure code is well documented and has been written in line with your style guides or other IaC projects – no one wants to pick up messy or undocumented code during a crisis.
- Keep an eye on the content: Ensure you do not expose passwords, keys, or other sensitive content by checking it into your version control system. A lot of the IaC we have spoken about is designed to be human-readable, and that is the last thing you want for sensitive information.
- Please keep it simple: Believe me, it is very easy to go down a rabbit hole and create some very complex, and...