(Part 2/N) Terraform: Import Existing Resource

(Part 2/N) Terraform: Import Existing Resource

In this episode of the Terraform series, we continued from where we left off in the previous podcast. We created a Docker container, cloned the example repository, and initialized Terraform. We generated configuration using Terraform plan and imported a resource while modifying the configuration. We pruned the generated configuration and applied changes, handling destructive changes. We also troubleshooted and fixed errors along the way. Overall, we made progress in understanding Terraform and managing Docker containers using Terraform. In this second podcast of the Terraform series, Krish continues exploring the Terraform documentation and learning as he goes. He demonstrates how to modify the Terraform configuration by replacing placeholder values and making necessary changes to the config files. Krish also shares the commands he used, including Docker run, Docker PS, Terraform plan, Terraform apply, and Terraform show. He concludes the podcast by summarizing the progress made and inviting viewers to check out the next episode.

Takeaways

  • Terraform allows you to manage infrastructure using a common workflow

  • Importing resources into Terraform requires defining an import block and generating configuration

  • Destructive changes should be carefully managed and tested

  • Troubleshooting errors in Terraform requires understanding the configuration and resource dependencies Modifying the Terraform configuration involves replacing placeholder values and making necessary changes to the config files.

  • Commands like Docker run, Docker PS, Terraform plan, Terraform apply, and Terraform show are useful in the Terraform workflow.

  • The Snowpal platform offers APIs and SaaS products that can be used to power back-end systems and accelerate development processes.

  • Snowpal provides flexible options for using their products, including pay-per-use, monthly plans, and commercial licenses.

Chapters

00:00 Introduction and Recap

02:01 Creating a Docker Container

05:19 Cloning the Example Repository

08:16 Initializing Terraform and Generating Configuration

10:04 Understanding Main.tf and Terraform.tf

11:46 Generating Configuration with Terraform Plan

15:50 Importing a Resource and Modifying Configuration

18:21 Pruning the Generated Configuration

20:50 Applying Changes and Handling Destructive Changes

27:31 Troubleshooting and Fixing Errors

36:44 Recap and Conclusion

50:29 Modifying the Terraform Configuration

52:28 Summary and Next Steps

53:26 Using Snowpal APIs and SaaS Products

Snowpal Products:

Jaksot(416)

(Part 1/2) Design Strategies: Mobile First vs API First vs Web First (vs Database First!)

(Part 1/2) Design Strategies: Mobile First vs API First vs Web First (vs Database First!)

(Part 1/2) What is a Mobile First Strategy? How different is it from an API First Strategy? Are there other alternatives? What's the best way to go? #projectmanagement #snowpal Mobile First, or API First? Plan it on https://snowpal.com.

30 Kesä 20228min

Learn with us. Learn from us.

Learn with us. Learn from us.

I am happy to announce that we've launched our Snowpal Education product that will serve as a (paid) extension to this podcast. Check it out. Subcribe! #learn #softwaredevelopment Learn on https://learn.snowpal.com. Video Podcast: https://podcasts.apple.com/us/podcast/web-and-mobile-app-development-learn-from-us-learn-with-us/id1508072889

6 Touko 20226min

(Part 4/4) Let’s learn the very basics of .NET Development (as a non-.NET developer!)

(Part 4/4) Let’s learn the very basics of .NET Development (as a non-.NET developer!)

(Part 4/4) What is it like to build a .NET App as a non-.NET developer! Let's take a look. #projectmanagement Build your next app on .NET. Plan it on https://snowpal.com.

28 Huhti 20229min

(Part 3/4) Let’s learn the very basics of .NET Development (as a non-.NET developer!)

(Part 3/4) Let’s learn the very basics of .NET Development (as a non-.NET developer!)

(Part 3/4) What is it like to build a .NET App as a non-.NET developer! Let's take a look. #projectmanagement Build your next app on .NET. Plan it on https://snowpal.com.

28 Huhti 202210min

(Part 2/4) Let’s learn the very basics of .NET Development (as a non-.NET developer!)

(Part 2/4) Let’s learn the very basics of .NET Development (as a non-.NET developer!)

(Part 2/4) What is it like to build a .NET App as a non-.NET developer! Let's take a look. #projectmanagement Build your next app on .NET. Plan it on https://snowpal.com.

28 Huhti 20229min

(Part 1/4) Let’s learn the very basics of .NET Development (as a non-.NET developer!)

(Part 1/4) Let’s learn the very basics of .NET Development (as a non-.NET developer!)

(Part 1/4) What is it like to build a .NET App as a non-.NET developer! Let's take a look. #projectmanagement Build your next app on .NET. Plan it on https://snowpal.com.

28 Huhti 20229min

(Part 4/4) My interview experience from the past week

(Part 4/4) My interview experience from the past week

My project ends next week per schedule (one that I thoroughly enjoyed, and another one where I'll surely miss the people), so I've been interviewing the past couple of weeks. While I typically, and predominantly do Technical Videos/Podcasts, I do enjoy these reasonably off-topic videos.   In this series (yeah, no kidding - it took me over 35 minutes to share my thoughts, and I know you are not surprised!), I speak to my recent experience and where I think the interview process is still lacking.   #projectmanagement #interview   Crack your interviews by planning them on https://snowpal.com.

21 Huhti 20226min

(Part 3/4) My interview experience from the past week

(Part 3/4) My interview experience from the past week

My project ends next week per schedule (one that I thoroughly enjoyed, and another one where I'll surely miss the people), so I've been interviewing the past couple of weeks. While I typically, and predominantly do Technical Videos/Podcasts, I do enjoy these reasonably off-topic videos.   In this series (yeah, no kidding - it took me over 35 minutes to share my thoughts, and I know you are not surprised!), I speak to my recent experience and where I think the interview process is still lacking.   #projectmanagement #interview   Crack your interviews by planning them on https://snowpal.com.

21 Huhti 20229min