How to create terraform modules? - Part 9

How to create terraform modules? - Part 9

72.143 Lượt nghe
How to create terraform modules? - Part 9
▬▬▬▬▬▬ 🎉 🔥 Udemy Course - AWS Networking Zero to Hero!🔥 🎉▬▬▬▬▬▬ 🚀 AWS Networking Masterclass! - https://www.udemy.com/course/aws-networking-zero-to-hero-masterclass/?referralCode=9A38DC3CAF2B02863FF5 ▬▬▬▬▬▬ 🎉 🔥 Udemy Course - Master Azure Like a Pro!🔥 🎉▬▬▬▬▬▬ 🚀 Master Azure Like a Pro! - https://www.udemy.com/course/azure-cloud-zero-to-hero/?referralCode=241EFDDC7859120A5175 ▬▬▬▬▬▬ 🙍🏻‍♂️Join YouTube Membership ▬▬▬▬▬▬ Join this channel to get access to perks: https://www.youtube.com/channel/UC7p4oXcPbgk_yTSHK7QlkSg/join ▬▬▬▬▬▬ 🙍🏻‍♂️ Members Only Videos ▬▬▬▬▬▬ Member Only videos - https://www.youtube.com/playlist?list=UUMO7p4oXcPbgk_yTSHK7QlkSg ▬▬▬▬▬▬ 🗓️ Book Me for Consultation ▬▬▬▬▬▬ Calender - https://tidycal.com/rahulwagh17 ▬▬▬▬▬▬ * Instruction's Guides * ▬▬▬▬▬▬ Terraform Module instruction guide? - https://jhooq.com/terraform-module/ How to handle SSH keys in AWS? - https://youtu.be/S5B09dq-jGQ How to generate SSH keys in Terraform? - https://jhooq.com/terraform-ssh-into-aws-ec2/ Terraform is an IaC(infrastructure as Code) framework for managing and provisioning the infrastructure but have you ever thought of creating only a single terraform configuration file for managing the complete cloud infrastructure. Well, it sounds insane because if you only have a single file for managing the complete infrastructure then it will grow in complexity as well the line of configuration code will be manifold. That is why terraform introduced a concept of the module that will help you to organize your terraform configuration so that you can re-use the configuration and keep your terraform code more clean and more modular. In this Lab session, we will create two modules module-1 and module-2. Inside each module, we will install the apache httpd server with each module is having its home page. Steps for Creating the module - 1. Create your first module 2. Module structure 3. Calling the module 4. Module best practices 5. Benefits of Modules ▬▬▬▬▬▬ ⭐️ 🕘Timestamps ⭐️ ▬▬▬▬▬▬ 0:00 Intro 0:21Terraform Module with example 2:59 Terraform Module project walkthrough 4:51 Download the private key from AWS 5:50 Module-1and Module-2 walkthrough 12:43 Run terraform module-1 and module-2 14:45 Verify the modules For more details on Terraform here is the official guide - https://learn.hashicorp.com/tutorials/terraform/module To learn more on DevOps visit - https://jhooq.com Disclaimer/Policy: All the content/instructions are solely mine. The source is completely open-source. Video is copyrighted and can not be re-distributed on any platform. #devops #aws #cloud #ec2 #ssh #keys 8:51