Terraform is powerful (if not the most powerful out there now) and one of the most used tools which allow management of infrastructure as code. It allows developers to do a lot of things and does not restrict them from doing things in ways that will be hard to support or integrate with.
Some information described in this book may not seem like the best practices. I know this, and to help readers to separate what are established best practices and what is just another opinionated way of doing things, I sometimes use hints to provide some context and icons to specify the level of maturity on each subsection related to best practices.
The book was started in sunny Madrid in 2018, available for free here at https://www.terraform-best-practices.com/.
A few years later it has been updated with more actual best practices available with Terraform 1.0. Eventually, this book should contain most of the indisputable best practices and recommendations for Terraform users.
Please contact me if you want to become a sponsor.
Compliance.tf — Terraform Compliance Simplified. Make your Terraform modules compliance-ready. | |
---|---|
[]() | []() — |
{% content-ref url="https://app.gitbook.com/s/u3iITRIHQx97ro2PkfdC/" %} العربية (Arabic) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/PJbgKPAX0ohEMLpETpg7/" %} Bosanski (Bosnian) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/B48qUSNPO2XmkIySLzfr/" %} Português (Brazilian Portuguese) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/6shyPtr2KrqW4ANbFXYg/" %} Français (French) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/DyguS0uZfMW7X7m9BWx1/" %} ქართული (Georgian) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/PKopCWJZbhpQ9FT0W8tL/" %} Deutsch (German) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/5c1kFpqxaDZC2g9e6rtT/" %} ελληνικά (Greek) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/4bq6CyY8vYiEHkjN63rT/" %} עברית (Hebrew) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/Mgong4S6IjtibE055zUM/" %} हिंदी (Hindi) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/ZLCz7lNWbSJxDGuNOI44/" %} Bahasa Indonesia (Indonesian) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/8VlMHbHDbW6qRWdgN5oU/" %} Italiano (Italian) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/3vykLOWgdQLPLgHtxqQH/" %} 日本語 (Japanese) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/BoZVs6O2OJFQLNV1utmm/" %} ಕನ್ನಡ (Kannada) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/bJnDvAqIyVgo7LDHgxYJ/" %} 한국어 (Korean) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/9yChMGbFo2G47Wiow1yY/" %} Polski (Polish) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/sFM1GW5TPCGsskQ03mTm/" %} Română (Romanian) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/5VD4NK4mHOY8SWjC9N5e/" %} 简体中文 (Simplified Chinese) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/fTxekzr50pIuGmrPkXUD/" %} Español (Spanish) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/Fedpbc5NbKjynXI8xTeF/" %} Türkçe (Turkish) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/tXRvMPILxeJaJTM2CsSq/" %} Українська (Ukrainian) {% endcontent-ref %}
{% content-ref url="https://app.gitbook.com/s/dcjhau04KQIKHUJA90iN/" %} اردو (Urdu) {% endcontent-ref %}
Contact me if you want to help translate this book into other languages.
I always want to get feedback and update this book as the community matures and new ideas are implemented and verified over time.
If you are interested in specific topics, please open an issue, or thumb up an issue you want to be covered. If you feel that you have content and you want to contribute, write a draft and submit a pull request (don't worry about writing good text at this point!).
This book is maintained by Anton Babenko with the help of different contributors and translators.
This work is licensed under Apache 2 License. See LICENSE for full details.
The authors and contributors to this content cannot guarantee the validity of the information found here. Please make sure that you understand that the information provided here is being provided freely, and that no kind of agreement or contract is created between you and any persons associated with this content or project. The authors and contributors do not assume and hereby disclaim any liability to any party for any loss, damage, or disruption caused by errors or omissions in the information contained in, associated with, or linked from this content, whether such errors or omissions result from negligence, accident, or any other cause.
Copyright © 2018-2023 Anton Babenko.