🔥 Day 71 of #90DaysOfDevOps challenge with Shubham Londhe - Preparing for Terraform Interview Questions! 🔥 As I continue my journey into Terraform and Infrastructure as Code (IaC), today is all about prepping for interviews! Here are some essential questions I've been exploring to sharpen my understanding: 1. What is Terraform and how is it different from other IaaC tools? 2. How do you call a main.tf module? 3. What exactly is Sentinel? Can you provide a few examples where we can use Sentinel policies? 4. If you need to create multiple instances of the same resource, how would you modify your configuration file? 5. How can you enable debug messages to find out from which paths Terraform is loading providers? (Hint: TF_LOG=TRACE 😉) 6. How would you save a particular resource while using terraform destroy? 7. Which module is used to store the .tfstate file in S3? 8. What’s your approach to managing sensitive data in Terraform, such as API keys or passwords? 9. For provisioning an S3 bucket with read and write access for a user, what resources would you configure? 10. Who maintains Terraform providers? 11. How can we export data from one module to another? Preparing for these questions not only boosts my confidence but also deepens my knowledge in Terraform and cloud infrastructure. 💪 If you're also on a similar journey or have insights to share, let’s connect and learn together! 🌟 Check out my latest blog for more information: 👉 https://lnkd.in/gYgm_PVE #Terraform #DevOps #CloudComputing #InfrastructureAsCode #IaC #LearningJourney #InterviewPreparation #TechCommunity
Tushar Pant’s Post
More Relevant Posts
-
Infrastructure as Code (IaC) has revolutionized the way we manage and deploy cloud infrastructure, making it more efficient, secure, and scalable. In this essay, I'll share my experience with IaC using Terraform, drawing from the insights gained from reading "Terraform up and running" by Yevgeniy Brikman.
Terraform up and running
yadl.info
To view or add a comment, sign in
-
I am sharing the GitHub link on LinkedIn, directing to the repository named 'Terraform'. I have developed infrastructure to create an EC2 instance with specific configurations including VPC, subnet, security group, and PEM file. Feel free to explore this repository to understand best practices. https://lnkd.in/gHCDCnfH #Terraform #AWS #CloudComputing #Automation #DevOps
GitHub - CloudAlchemist/Terraform
github.com
To view or add a comment, sign in
-
🚀 𝐀𝐮𝐭𝐨𝐦𝐚𝐭𝐞 𝐘𝐨𝐮𝐫 𝐀𝐳𝐮𝐫𝐞 𝐈𝐧𝐟𝐫𝐚𝐬𝐭𝐫𝐮𝐜𝐭𝐮𝐫𝐞 𝐰𝐢𝐭𝐡 𝐓𝐞𝐫𝐫𝐚𝐟𝐨𝐫𝐦: 𝐔𝐬𝐢𝐧𝐠 "𝐄𝐚𝐜𝐡" 𝐚𝐧𝐝 "𝐂𝐨𝐮𝐧𝐭" 🌐 Hey LinkedIn network! 👋 As cloud infrastructure evolves, so does our need for efficient and scalable management tools. Terraform by HashiCorp is a powerful Infrastructure as Code (IaC) tool that allows us to manage Azure resources with ease. Today, I want to highlight two essential Terraform features: each and count. 🔹 𝐞𝐚𝐜𝐡: This meta-argument allows you to iterate over a map or set of strings to create multiple resources dynamically. 🔹 𝐜𝐨𝐮𝐧𝐭: This allows you to create multiple instances of a resource by specifying a numeric value. 𝑫𝒊𝒇𝒇𝒆𝒓𝒆𝒏𝒄𝒆𝒔 𝑩𝒆𝒕𝒘𝒆𝒆𝒏 𝒆𝒂𝒄𝒉 𝒂𝒏𝒅 𝒄𝒐𝒖𝒏𝒕 𝒆𝒂𝒄𝒉: Best used when you need to iterate over a collection (map or set). Provides access to both key and value during iteration. Ideal for scenarios where you need different configurations for each resource. count: Used to create a specific number of identical resources. Accepts an integer to define how many instances to create. Simple and effective when all resources have the same configuration. By leveraging each and count, we can significantly reduce the complexity of our Terraform configurations while maintaining scalability and flexibility. Happy coding! 💻✨ #Terraform #Azure #IaC #DevOps #CloudComputing #InfrastructureAutomation
To view or add a comment, sign in
-
A few of you might be wondering what Terraform is all about from my previous posts. Here's a quick overview of how it works and a guide that you might find helpful! Terraform is an open-source tool by HashiCorp, designed to automate and manage infrastructure (virtual machines, networks, etc.) across various environments like AWS, Azure, GCP. Key Concepts: HCL (HashiCorp Configuration Language): A declarative language used to define infrastructure in .tf files. Providers: Terraform uses providers to manage resources across different platforms (e.g., AWS, GCP, and monitoring tools like DataDog). Resources: Objects managed by Terraform, like servers and databases. State and State Files: The state file keeps a record of your current infrastructure, allowing Terraform to apply changes only where necessary. Terraform follows three steps: 1. Init: Initializes the project. 2. Plan: Creates a plan to align the infrastructure with the desired state. 3. Apply: Implements the necessary changes to reach that desired state. This short guide covers the basics and gives you a glimpse of how powerful and helpful Terraform can be for managing infrastructure. Follow for more. #devops #terraform #aws #ec2 #s3 #cloud
To view or add a comment, sign in
-
Whether you’re building your own Terraform pipelines or using a Terraform automation platform, a big hurdle we usually see is configuring the pipeline/platform to be aware of new folders and paths in your Git repo. To face this hurdle, we’ve released a major upgrade to the ControlMonkey platform, “Stack Auto-discovery.” This capability detects new folders and paths in your Git repositories and automatically creates corresponding stacks in the ControlMonkey platform. Now, any new Terraform/Tofu code written in your Git repository will automatically be incorporated into the infrastructure CI/CD approval and testing process, ensuring that all resources align with the organization’s standard. Want to automate your cloud like the top Fortune 100 companies? Feel free to reach out. Learn more about this feature: https://lnkd.in/diJKhMFm #devops #aws #azure #terraform #iac #opentofu
To view or add a comment, sign in
-
We've designed around this unique feature of Resourcely since the beginning. The correct configuration for nearly anything is "it depends." Ryan's demo shows how guardrails can conditionally set requirements of cloud infrastructure based on user-selectable context. We do the same for other types of context, like properties of the repo, the path we're committing to, or the user.
Demo of using Foundry to Author a Blueprint with Global Contexts and Conditional Guardrails with Resourcely Configuration is context dependent! Different guardrails to enforce different configuration based on different context. Here are some examples: 🔐 Cloud Security Restrict basic compute instance configuration so users cannot modify SSH to be open to public ☁️ Cloud Engineering Database engine types or Route53 configuration (CNAME vs A, simple VS weighted) 💰 FinOps Limit instance sizes or database sizes 💻 DevOps Enforce GitHub workspace setup as code Depending what team you work on, we have you covered. Looking to try Resourcely? Sign up for a free trial. #security #cloud #policyascode
To view or add a comment, sign in
-
Really solid blogpost by Ned Bellavance! 🙌 Imagine devs cranking out secure, compliant infra fast while platform teams sleep easy. Resourcely is bringing cloud innovation to the next level ✨. If you’re building in the cloud, you have to check this out! 🚀
Resourcely Guardrails and Blueprints
nedinthecloud.com
To view or add a comment, sign in
-
Leveling up my cloud infrastructure skills! 🚀 I've been working into AWS EC2 and RDS, trying out different provisioning methods. From the simplicity of the console to the power of automation with CLI, CloudFormation, and Terraform, each approach offers unique advantages. Some key differences I've learned: - Console: Great for quick and easy tasks but can be time-consuming for complex setups. - CLI: Provides granular control and automation but requires scripting knowledge. - CloudFormation: Defines infrastructure as code using templates, making it ideal for repeatable deployments. - Terraform: A powerful open-source tool that supports multiple cloud providers and offers a declarative approach to infrastructure management. Which method do you prefer for your AWS projects? Let's discuss! #AWS #EC2 #RDS #CloudInfrastructure #CloudComputing #DevOps #InfrastructureAsCode HashiCorp #terraform
To view or add a comment, sign in
-
Interviewer : Have you worked on terraform in your previous project ? Yes , we used terraform for infrastructure provisioning and we do have multiple environments so we used terraform modules . Interviewer : Sounds good, Will terraform directly deploy infra when you enter terraform apply ? Terraform communicates with the cloud provider's API to create resources as defined in the configuration files, and then it prompts us to confirm with Yes or No. Interviewer : Okay, So you said you worked on modules , I wanted to delete a particular service from a particular environment ? How can I do this with terraform ? terraform destroy -target=resource_type.resource_name Interviewer: Thanks :) YouTube : https://lnkd.in/gZdpvz6U #TechIndustry #DevOps #CloudComputing #Terraform #InfrastructureAsCode #AWS #Azure #GoogleCloud #Automation #SoftwareEngineering
To view or add a comment, sign in
-
🚀 Just Published: Your Ultimate Guide to Terraform 🌍 Ever wondered how to manage your infrastructure as easily as code? Dive into my latest blog to explore Terraform’s what, why, and how, with essential keywords, concepts, and examples! Learn how to automate, streamline, and control your infrastructure with ease. 💻 ✨ Check it out here: Medium: https://lnkd.in/dad5QfwR Google Blogs: https://lnkd.in/dxzgb6rr Personal Site: https://lnkd.in/da_C5aq5 #Terraform #InfrastructureAsCode #Automation #CloudComputing #DevOps #AWS #Azure #GoogleCloud #CloudInfrastructure #IaC #HashiCorp #TechBlog #CloudEngineering #InfrastructureManagement #ConfigurationManagement #CloudAutomation #AWSCommunity #AzureCommunity #GoogleCloudPlatform #TechCommunity #CodeNewbies #SoftwareDevelopment #TechTrends #CodingLife #ITInfrastructure #CloudNative #SaaS #PaaS #DevOpsTools #SystemEngineering #TechInsights #TechForGood #ITAutomation #InfrastructureEngineering #CI_CD #CloudSecurity #ProgrammingLife #InfrastructureProvisioning #DigitalTransformation #Innovation #SmartInfrastructure #BuildDeployManage #OpenSource #Serverless #BackendDeveloper #FullStackDevelopment #RubyOnRails #ReactJS #WebDevelopment #CloudSolutions #CyberSecurity
🌍 Terraform 101: The Ultimate Guide to “What, Why, and How” of Terraform! 🚀
rajputlakhveer.medium.com
To view or add a comment, sign in
CSE '26| Amity University Noida
1moWow