Тёмный

Running Terraform Locally Using LocalStack 

HashiCorp
Подписаться 64 тыс.
Просмотров 4,2 тыс.
50% 1

Infrastructure-as-Code (IaC) is a popular practice in DevOps that allows you to manage and automate infrastructure resources using code. Terraform is a leading IaC tool that is used by many organizations to manage their infrastructure resources across multiple cloud providers, including AWS. Testing your infrastructure code is crucial to ensuring that it works correctly and meets your requirements. However, testing infrastructure code can be challenging, especially if you are working with cloud resources that can incur costs and are dependent on internet connectivity.
In this session, we will explore how to use LocalStack with Terraform to test infrastructure code locally without incurring cloud costs or relying on an internet connection. Localstack is a tool that simulates the behavior of various AWS services locally on your computer, allowing you to develop and test your infrastructure code in an isolated environment.
During the session, we will cover the following topics:
An overview of Localstack and Terraform and how they can be used together to test infrastructure code locally.
Setting up LocalStack and Terraform on your local machine.
Writing Terraform code to create AWS resources and specifying the endpoint of Localstack instead of the actual AWS service endpoints.
Setting environment variables to tell Terraform to use Localstack instead of the real AWS services.
Running Terraform commands to apply, plan, and destroy infrastructure resources in LocalStack
Verifying that the infrastructure resources were deployed correctly in LocalStack
By the end of this session, you will have a better understanding of how to use LocalStack with Terraform to test your infrastructure code locally, allowing you to catch issues early and speed up your development cycle. You will also be able to apply these concepts to your own infrastructure code and testing workflows, helping you to improve the quality and reliability of your infrastructure resources.
Speaker: Adefemi Micheal
Twitter: / that_infra_guy
Subscribe to our RU-vid Channel → www.youtube.co...
For hands-on interactive labs, visit HashiCorp Developer → developer.hash...
HashiCorp provides infrastructure automation software for multi-cloud environments, enabling enterprises to unlock a common cloud operating model to provision, secure, connect, and run any application on any infrastructure. HashiCorp open source tools Vagrant, Packer, Terraform, Vault, Consul, Nomad, Boundary, and Waypoint allow organizations to deliver applications faster by helping enterprises transition from manual processes and ITIL practices to self-service automation and DevOps practices.
For more information → hashicorp.com
Twitter → / hashicorp
LinkedIn → / hashicorp
Facebook → / hashicorp

Опубликовано:

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 6   
@bonito1998
@bonito1998 10 часов назад
Thanks so much for the video , brother you saved me a lot of trouble
@stephennwakasi4631
@stephennwakasi4631 3 месяца назад
Thanks for sharing. The localstack doc is helpful too
@javierleyba
@javierleyba 7 месяцев назад
Did you realize that the code you are showing in your video is impossible to be read by us? Those small size chars in a small window make them unreadable.
@HashiCorp
@HashiCorp 7 месяцев назад
Thanks so much for the note. So sorry for the inconvenience! Please be assured your feedback has been passed along to the appropriate party. In the future they will either record in 4K, enlarge the CLI text size, or both.
@NN-qj4sk
@NN-qj4sk 10 месяцев назад
Ty for making this 😊
@DurgaPrashanthG
@DurgaPrashanthG Год назад
I would like to test it. can you share the github link
Далее
Cute kitty gadget 💛💕
00:23
Просмотров 17 млн
Сказала дочке НЕТ!
00:24
Просмотров 902 тыс.
[Learn Lab] Test your Terraform configuration
45:06
Просмотров 4,6 тыс.
Running AWS Services In A Laptop Using LocalStack
28:17
Structuring Repositories for Terraform Workspaces
19:22
Local AWS Development with LocalStack
1:01:21
Просмотров 16 тыс.
Terraform has forever changed the way I deploy code
19:12
Testing Local AWS cloud with Localstack! | Tutorial
21:22
How AWS is Making It Easier To Convert to IaC/CDK
21:32
Why You NEED To Learn Terraform | Practical Tutorial
27:33