Terraform vs Deployment Manager Decision
📖 Scenario: You are working as a cloud engineer for a company moving their infrastructure to Google Cloud Platform (GCP). Your team needs to decide whether to use Terraform or Google Cloud Deployment Manager to manage infrastructure as code.Both tools help automate resource creation, but they have differences in flexibility, community support, and integration.
🎯 Goal: Build a simple comparison dictionary in Python that lists key features of Terraform and Deployment Manager. Then, add a configuration variable to select the preferred tool. Finally, write logic to print the chosen tool's features.
📋 What You'll Learn
Create a dictionary named
tools with keys 'Terraform' and 'Deployment Manager' and their feature descriptions as values.Add a variable named
preferred_tool set to either 'Terraform' or 'Deployment Manager'.Write a for loop that iterates over
tools.items() and prints the features of the preferred_tool.Add a final print statement confirming the selected tool.
💡 Why This Matters
🌍 Real World
Cloud engineers often compare infrastructure as code tools to choose the best fit for their projects. Automating this comparison helps in decision making.
💼 Career
Understanding how to manage and compare cloud infrastructure tools is essential for roles like Cloud Engineer, DevOps Engineer, and Site Reliability Engineer.
Progress0 / 4 steps