LetMeTechYou
LetMeTechYou
  • 132
  • 233 329
Using Terraform's Import Block for Existing Resources is now Easier than Ever
Do you have a cloud environment that needs to import existing azure resources into terraform but you use pipelines for deployment? This video goes through a simple step by step process on how to do that an easier way using terraforms import block.
Terraform's Import block now has the ability to use for_each making multiple imports a lot easier when deploying through devops pipelines.
This video goes through how to import an azure resource group. Drop a comment below if you have questions on other imports.
ABOUT OUR CHANNEL
My channel covers various topics about networking, automation and cloud technologies . We cover lots of cool stuff such as cisco, terraform, aws, firewalls, security and more
Check out my channel here:
/ @letmetechyou
Don’t forget to subscribe!
CHECK OUT MY OTHER VIDEOS on Terraform Here:
• Learning Terraform for Beginners
FIND MY BLOG AT
letmetechyou.com
GET IN TOUCH
Contact us at info@letmetechyou.com for questions and video ideas.
Переглядів: 1 221

Відео

Azure Caf Management Group Terraform Deployments
Переглядів 4328 місяців тому
This video goes over how to build azure management groups using the caf enterprise scale terraform module. Azure allows up to 6 levels deep of managment groups and using terraform is a great way to manage them. Follow along and help align your terraform deployments in a way your team can work a lot faster and efficient. 🚀 Key Topics Covered: How to deploy multiple levels of azure management gro...
Microsoft Verified Terraform Modules | Whats New?
Переглядів 5539 місяців тому
This video talks about the new initiative by Microsoft called Azure Verified Modules. These new set of modules built for Terraform and Bicep are supposed to shape a new way of aligning Terraform and bicep deployment with initial best practices. Follow along here: azure.github.io/Azure-Verified-Modules/ 🚀 Key Topics Covered: What are azure verified modules Should you use azure verified modules 💡...
How you can save money in Azure with Zero Work!
Переглядів 24911 місяців тому
This video talks about an easy way to save money in Azure using a great tool call Azuer orphan resources. This github tool works by querying your azure tenant for any stale resources that may have gotten left behind. Not only will this workbook save you money it will help improve security, and prevent misconfiguration Follow along and help align your terraform deployments in a way your team can...
Terraform - Building a multiregion Template
Переглядів 437Рік тому
This video goes over how to create a multiregion terraform deployment template. Watch this video: ua-cam.com/video/nm_NhO5LIEE/v-deo.html to align your terraform folder structure to make it easier to work with resources across different Regions, Environments and projects. Follow along and help align your terraform deployments in a way your team can work a lot faster and efficient. 🚀 Key Topics ...
The Best Folder Structure for Terraform | Multi-Region and Multi-Environment Terraform Deployment
Переглядів 3 тис.Рік тому
COMMENT BELOW IF YOU WOULD LIKE THE SOURCE CODE AND POWERSHELL FOR THIS VIDEO. This video goes over how to setup your terraform folder structure to make it easier to work with resources across different Regions, Environments and projects. Follow along and help align your terraform deployments in a way your team can work a lot faster and efficient. 🚀 Key Topics Covered: How to setup your terrafo...
Get Github Certified with Github Certifications in 2024
Переглядів 1,2 тис.Рік тому
This video goes over how to get github certified and advance your devops career in 2024. The github certifications will present a new way to showcase your skillset to potential employers and also just help build your in depth knowledge of Github. 🚀 Key Topics Covered: How to get github certified Learning modules for each github certifications Which Github Certification to Pick? 💡 Why Watch This...
Improving Compliance & Security in Terraform | Terrascan Free & Open Source
Переглядів 276Рік тому
This video goes over how to how to easily scan resources in terraform using the automation tool terrascan for compliance and security violations. Terrascan is an open source tool from tenable that provides over 500 default policies to scan against. Terrascan can be implemented into your CI/CD pipeline process helps tagging resources at scale. If you have deployed hundreds of resources already a...
Terraform Tagging Best Practices | Automate the Entire Process
Переглядів 527Рік тому
This video goes over how to how to easily tag resources in terraform using the automation tool terratag. Tagging in terraform using terratag helps tagging resources at scale. If you have deployed hundreds of resources already and did not have a proper tagging solution, then terratag is the right tool for you. Follow along in this video to help get your tagging in the proper state. 🚀 Key Topics ...
How to Prevent IP Exhaustion in Azure While Improving on Network Security and Design in the Cloud
Переглядів 184Рік тому
This video goes over how to how to minimize private address space consumption when you build large networks in Azure. This Azure Design will also help with defining security best practices and finding a way to separate resources that do not need direct internet access. Follow along with the terraform files in my github below. 🚀 Key Topics Covered: Preventing IP Address Exhaustion in Azure Hub a...
Best way to find projects and tutorials for people trying to break into cloud roles.
Переглядів 116Рік тому
This video goes over how to find some good azure cloud projects and tutorials to help you break into cloud roles. Azure has a lot of different areas of focus and this video shows 3 areas of focus to start with. 🚀 Key Topics Covered: Navigating the learn.microsoft.com website Getting Familiar with Azure Network Building Virtual Machines in Azure Working With Security or Storage Accounts 💡 Why Wa...
Terraform Private vs Public Module Registry. | Which one should you use?
Переглядів 426Рік тому
In this engaging video, we dive deep into the world of Terraform and explore the key differences between Private and Public Module Registries. As a Cloud Engineer passionate about Azure, cloud technologies, and networking, I provide valuable insights into when and why you should choose one registry over the other. 🚀 Key Topics Covered: Understanding the concept of Terraform Module Registries Ad...
How to use the Azure Caf Enterprise Scale Connectivity Advanced Settings Block
Переглядів 460Рік тому
In this video we dive into how to use the Caf Enterprise Scale Advanced Settings Block to modify resource_suffix, resource_prefix and resource group names. Use of the advanced setting is currently undocumented and experimental. Please be aware that using this setting may result in future breaking changes. 🚀 Key Topics Covered: How to use the Azure Caf Enterprise Scale Connectivity Advanced Sett...
Azure Naming Conventions Best Practices Using Terraform
Переглядів 961Рік тому
In this video, I will show you how to use Terraform to create and manage Azure resources with consistent and clear naming conventions. Naming conventions are important for readability, maintainability, and security of your infrastructure as code. Terraform is a popular tool for provisioning and managing cloud resources using declarative configuration files. I will use the Azure/naming/azurerm m...
Azure Caf Enterprise Scale Custom Role Assignments using Terraform
Переглядів 299Рік тому
Building Azure custom roles can easily be done using the Azure Caf Enterprise Scale module found here: ua-cam.com/video/8iPb1Wetqqo/v-deo.html This video will go over how to assign azure custom roles using the azure caf enterprise scale terraform module to the required group, user, subscription or management group. You can find the code used in this video in my github repo here: github.com/letm...
Creating Azure Custom Roles using Terraform
Переглядів 844Рік тому
Creating Azure Custom Roles using Terraform
Terraform Workspaces vs Folders
Переглядів 639Рік тому
Terraform Workspaces vs Folders
Terraform Workspaces | Keeping environments separated
Переглядів 558Рік тому
Terraform Workspaces | Keeping environments separated
Building a Terraform Cloud Self Hosted Agent
Переглядів 1,3 тис.Рік тому
Building a Terraform Cloud Self Hosted Agent
Azure Management Groups and Subscriptions | Automation Best Practices
Переглядів 1,3 тис.Рік тому
Azure Management Groups and Subscriptions | Automation Best Practices
The easiest way to start learning Google Cloud Now! | Get started in less than 10 Minutes
Переглядів 79Рік тому
The easiest way to start learning Google Cloud Now! | Get started in less than 10 Minutes
Azure Caf Enterprise Scale | Landing Zone Custom Policies
Переглядів 1,2 тис.Рік тому
Azure Caf Enterprise Scale | Landing Zone Custom Policies
Easiest Way to Capture Network Packets in Azure
Переглядів 543Рік тому
Easiest Way to Capture Network Packets in Azure
Break into Cloud Engineering learning these 2 Hands on skills!! |
Переглядів 182Рік тому
Break into Cloud Engineering learning these 2 Hands on skills!! |
Azure Caf Enterprise Scale | Terraform Deployment pt 4.
Переглядів 995Рік тому
Azure Caf Enterprise Scale | Terraform Deployment pt 4.
Azure Caf Enterprise Scale | Terraform Deployment pt 3.
Переглядів 937Рік тому
Azure Caf Enterprise Scale | Terraform Deployment pt 3.
Azure Caf Enterprise Scale | Terraform Deployment pt 2.
Переглядів 1,9 тис.Рік тому
Azure Caf Enterprise Scale | Terraform Deployment pt 2.
Azure Caf Enterprise Scale | Terraform Deployment pt 1.
Переглядів 5 тис.Рік тому
Azure Caf Enterprise Scale | Terraform Deployment pt 1.
New and Improved way to Import Resources into Terraform
Переглядів 4,9 тис.Рік тому
New and Improved way to Import Resources into Terraform
Azure Cloud Skills Every Network Engineer Should Know! | Build your Own Test Network
Переглядів 216Рік тому
Azure Cloud Skills Every Network Engineer Should Know! | Build your Own Test Network

КОМЕНТАРІ

  • @Secretcodrin
    @Secretcodrin 10 днів тому

    What a bad tutorial. You didn't install anything you just downloaded a file and uploaded it according to the documentation lol

  • @henrycheung6222
    @henrycheung6222 10 днів тому

    Hi Kevln, it is about 11:58 of the video. I need to separate subscription_id_connectivity into 2 environment by tfvars, and I notice custom_landing_zone cannot be run twice in 2 different pipelines. Therefore I separate subscription_id_connectivity into another identity folder. However, I realize in the new folder, subscription_id_connectivity will not produce the same tf plan. Do you have idea on how to fix that?

  • @thiagoxfx
    @thiagoxfx 20 днів тому

    Thanks

  • @Dimerzl
    @Dimerzl 29 днів тому

    Hi, What VS extension are you using to see argument definitions etc when you hover your cursor over them?

  • @MrAkashrintu
    @MrAkashrintu Місяць тому

    Concise and To the point.

  • @tylerweirtube
    @tylerweirtube Місяць тому

    Helpful even in 2024, cheers.

  • @dmeyer6994
    @dmeyer6994 2 місяці тому

    You can tell you do know what you're talking about, but your teaching format is not good. You are kind of all over the place, and you are skipping steps and descriptors that would explain what you're doing and how you are getting the numbers that you're entering.. Very frustrating video to try and follow.

    • @letmetechyou
      @letmetechyou 2 місяці тому

      Thanks for the observation. Always looking to get better.

  • @laxmikanthforu
    @laxmikanthforu 2 місяці тому

    Thank you for creating the video, first of all. We need to apply a policy directly to the subscription; how can we do that in this situation?

  • @mahendrapathak1661
    @mahendrapathak1661 2 місяці тому

    This doesn't work. Containers are not selected.

  • @MukundNarayanJha
    @MukundNarayanJha 2 місяці тому

    Please create a video on Azure Virtual WAN

  • @MukundNarayanJha
    @MukundNarayanJha 2 місяці тому

    This video was so helpful! The way you explained hub and spoke topology made it easy to understand. Thanks for all your hard work - looking forward to more content from you!

  • @carloscarballo5547
    @carloscarballo5547 2 місяці тому

    Mind pointing me to your GitHub repo ? Thank u

    • @letmetechyou
      @letmetechyou 2 місяці тому

      @@carloscarballo5547 github.com/letmetechyou/terraformv2/tree/Main/terraform-folder-structure

  • @danidelavlasca
    @danidelavlasca 2 місяці тому

    That is only easy for test resources. For complex architectures, this is not an option...

    • @letmetechyou
      @letmetechyou 2 місяці тому

      @@danidelavlasca yea only for single resources. I use this method in an org with massive architecture. ua-cam.com/video/nYlw773UEp4/v-deo.htmlsi=D1OIcNE2zrrFL8_Z I’ve import in thousands of resources with this method with ease.

  • @henrycheung6222
    @henrycheung6222 2 місяці тому

    For different management groups, is there any standard to attach what policies so that it can reflect the cloud adoption standard? Thanks

    • @letmetechyou
      @letmetechyou 2 місяці тому

      not necessarly a standard but they do have defaults that are set that you can add or remove i show how to set some of that in this video here ua-cam.com/video/0dGe_KEOGzs/v-deo.html

  • @IgorFilipovskyy
    @IgorFilipovskyy 3 місяці тому

    is it any known issue? Every time when I try to run the module on versions higher than 1.x.x I got error message "Unexpected attribute: An attribute named "enforce_private_link_endpoint_network_policies" is not expected here". Looks like it's mismatching somewhere. Do you know where is it? is it a known issue?

    • @letmetechyou
      @letmetechyou 3 місяці тому

      what version are you currently on

  • @markkuuss
    @markkuuss 3 місяці тому

    Hey man, are the courses in the right order in the Terraform playlist?

    • @letmetechyou
      @letmetechyou 3 місяці тому

      Yea they are. They should all walk through a good amount of fundamental knowledge

  • @MarkaTaylor-s9b
    @MarkaTaylor-s9b 3 місяці тому

    Parker Way

  • @marctatum9638
    @marctatum9638 3 місяці тому

    Great work Kev, clear cut and to the point!

  • @GaryJackson-r6j
    @GaryJackson-r6j 3 місяці тому

    Gibson Branch

  • @surajnagarcenkar8111
    @surajnagarcenkar8111 3 місяці тому

    Good info Thank you for posting it in so detail. Only thing was, it was hard to hear your voice, had to turn on CC text

    • @letmetechyou
      @letmetechyou 2 місяці тому

      sorry will work on making the audio better

  • @marceloguberna4451
    @marceloguberna4451 4 місяці тому

    Thank you!!

    • @letmetechyou
      @letmetechyou 2 місяці тому

      You're welcome! thanks for watching

  • @RajnishKumar-de8lu
    @RajnishKumar-de8lu 4 місяці тому

    How to optimize cpu utilisation of window server

  • @WaltonAnn-u6k
    @WaltonAnn-u6k 4 місяці тому

    Stanford Heights

  • @meghangordon-megcassovo7891
    @meghangordon-megcassovo7891 4 місяці тому

    I actually love you

  • @HrishiCloud
    @HrishiCloud 4 місяці тому

    How should we interact with a blob storage

  • @Defense89
    @Defense89 4 місяці тому

    thx for tips, what happens if you have closed the VM and can't restart it?

    • @letmetechyou
      @letmetechyou 4 місяці тому

      @@Defense89 restart it from the portal

  • @jarradwilder
    @jarradwilder 4 місяці тому

    is your mic inside your pc?

  • @ThomasineLynch-e7i
    @ThomasineLynch-e7i 4 місяці тому

    Luettgen Plaza

  • @Gopi_Chand_Narra
    @Gopi_Chand_Narra 4 місяці тому

    Hi while performing the above activity i have encountered with this error .\terraform init -migrate-state Initializing the backend... ╷ │ Error: Failed to get existing workspaces: containers.Client#ListBlobs: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="InvalidResourceName" Message="The specifed resource name contains invalid characters. RequestId:755712a5-601e-0024-3285-ffdc9d000000 Time:2024-09-05T11:18:19.1568898Z" │ can you please help me in this I have assigned all the necessary permission roles to the service principle id as well

  • @thepassportog
    @thepassportog 5 місяців тому

    Look what I found Azure and terraform. Heck yes

  • @tonyhall699
    @tonyhall699 5 місяців тому

    Nice and concise, thanks.

  • @tonyhall699
    @tonyhall699 5 місяців тому

    Excellent, thank you!

  • @mohammadrostami6125
    @mohammadrostami6125 5 місяців тому

    You streamline it using "terraformer".

  • @BradleyMirly
    @BradleyMirly 5 місяців тому

    These videos have been very helpful -- really appreciate the time you put into them! Thank you <3

    • @letmetechyou
      @letmetechyou 5 місяців тому

      Thanks no problem. If you have questions around anything else feel free to comment and would love to make videos around solutions

  • @itsc.studio
    @itsc.studio 5 місяців тому

    Thank GODDDDDDD......you save my life !!! :)

  • @PaulRobert-cb7df
    @PaulRobert-cb7df 5 місяців тому

    Hi Kevin, Thanks for all the videos they have been invaluable during my project, I do have one very specific question, it's about the advanced block and re-naming the data collection rule, mainly the change tracking, in the management folder: azurerm_data_collection_rule = { management = { vminsights = { name = "dcr-vw-${var.zone}-${var.environment}-uks-001" }, change_tracking = { name = "dcr-ct-${var.zone}-${var.environment}-uks-001" }, defendersql = { name = "dcr-def-${var.zone}-${var.environment}-uks-001" } } } This is the code I'm running, insight and defender work fine but the change tracking keeps giving me a error saying 2 different items are creating the same product key. Have you come across this issue and do you know how to solve it.

    • @letmetechyou
      @letmetechyou 5 місяців тому

      can you share the exact error message.

    • @PaulRobert-cb7df
      @PaulRobert-cb7df 5 місяців тому

      @@letmetechyou I have posted this a few times it keeps failing to get to you hopefully this makes it, and thanks for the quick reply

    • @PaulRobert-cb7df
      @PaulRobert-cb7df 5 місяців тому

      @@letmetechyou thats so weird try this Error: Duplicate object key │ │ on .terraform/modules/alz/locals.management.tf line 65, in locals: │ 63: azurerm_monitor_data_collection_rule_management = { │ 64: for resource in module.management_resources.configuration.azurerm_monitor_data_collection_rule : │ 65: resource.resource_id => resource │ 66: if resource.managed_by_module │ 67: } │ ├──────────────── │ │ resource.resource_id is "/there isa subcription resoursce group name and resource name here" I removed as my post kept getting failing to upload │ │ Two different items produced the key │ "/there isa subcription resoursce group name and resource name here" I removed as my post kept getting failing to upload │ in this 'for' expression. If duplicates are expected, use the ellipsis │ (...) after the value expression to enable grouping by key. the code looks like this: azurerm_data_collection_rule = { management = { vminsights = { name = "dcr-insight-${var.zone}-${var.environment}-uks-001" #sku_name = }, # change_tracking = { # name = "dcr-ct-${var.zone}-${var.environment}-uks-001" # # # #sku_name = # }, # defendersql = { # name = "dcr-def-${var.zone}-${var.environment}-uks-001" # } } } vminsight works change_tracking and defendersql don't

    • @PaulRobert-cb7df
      @PaulRobert-cb7df 5 місяців тому

      @@letmetechyou I have no idea why I cant post the whole error but it is saying: Error: Duplicate object key │ │ on .terraform/modules/alz/locals.management.tf line 65, in locals: │ 63: azurerm_monitor_data_collection_rule_management = { │ 64: for resource in module.management_resources.configuration.azurerm_monitor_data_collection_rule : │ 65: resource.resource_id => resource │ 66: if resource.managed_by_module │ 67: } and then giving the resource id which is what I am trying to set the new name to be followed by: Two different items produced the key and the same id

    • @PaulRobert-cb7df
      @PaulRobert-cb7df 5 місяців тому

      @@letmetechyou this is the code: azurerm_data_collection_rule = { management = { vminsights = { name = "dcr-insight-${var.zone}-${var.environment}-uks-001" #sku_name = }, # change_tracking = { # name = "dcr-ct-${var.zone}-${var.environment}-uks-001" # # # #sku_name = # }, # defender_sql = { # name = "dcr-def-${var.zone}-${var.environment}-uks-001" # } } } the defender_sql name also won't change

  • @thennarasuarasu9253
    @thennarasuarasu9253 5 місяців тому

    Hi, it was very helpful and i am able to deploy IPAM on my environment, however I would need to know when we create the vnet blocks in IPAM, will it be doing the validation if the same subnet is trying to get created in another subscriptions?

  • @LocalValuation
    @LocalValuation 5 місяців тому

    THANK YOU

  • @ranadheerreddy2996
    @ranadheerreddy2996 5 місяців тому

    Thanks for your effort. It helps.

  • @basharaljneed5099
    @basharaljneed5099 5 місяців тому

    i have the same problem 'no bootable device' how to solve it ??

  • @debashissinha8489
    @debashissinha8489 6 місяців тому

    Missing AUDIO and font size is too low

  • @madhurshukla23jan
    @madhurshukla23jan 6 місяців тому

    I have one question and really could use your help. I have created management group and subscriptions manually, but want to use CAF to deploy policy and nothing else. Is this possible ?

    • @letmetechyou
      @letmetechyou 6 місяців тому

      @@madhurshukla23jan yes you can

    • @madhurshukla23jan
      @madhurshukla23jan 6 місяців тому

      @@letmetechyou can you suggest a way around or any form of guidance/documentation please

  • @madhurshukla23jan
    @madhurshukla23jan 6 місяців тому

    Repository link is broken

  • @virtualworld6637
    @virtualworld6637 6 місяців тому

    I need some assistance in palo alto

    • @letmetechyou
      @letmetechyou 6 місяців тому

      @@virtualworld6637 what issues are you having

    • @anisharajput410
      @anisharajput410 6 місяців тому

      @@letmetechyou i am trying to deploy rules in the panaroma ( new rule) and also i need to make change to the existing rules which are there but i am unable to take out the existing rules from the panaroma through terraform, is it possible and i have used terraform import command with specific rule name and even given the config into the main.tf but i have 100 rules, i cant specify each name, do you have any other solution to achieve it?

    • @letmetechyou
      @letmetechyou 6 місяців тому

      @@anisharajput410 I haven’t used terraform to manage panorama. I just use terraform to deploy the Palo environment, then panorama becomes my source of truth.

    • @virtualworld6637
      @virtualworld6637 6 місяців тому

      @@letmetechyou Any scope if you can help in deploying this for panaroma? In case you want to try

  • @virtualworld6637
    @virtualworld6637 6 місяців тому

    Hi, the code you shared says 404, i am configuring the terraform code for the panaroma, am really stuck, what if we have existing rules configure in the panaroma, can we pull it through terraform, will you able to help me on this, can we setup panaroma for existing rules and policy. Looking for urgent help on it, please contact me on my linkdin its anisharajput

  • @RandomGeneric999
    @RandomGeneric999 6 місяців тому

    lz_vending = { subscription01 = { subscription_alias_enabled = "true" subscription_alias_name = "GC Test" subscription_display_name = "GC Test" subscription_workload = "Production" } subscription02 = { subscription_alias_enabled = "true" subscription_alias_name = "GC Production" subscription_display_name = "GC Production" subscription_workload = "Production" } } I keep getting an error whenuse this as subscriptions.tfvars "too many line arguments"

  • @Southpaw07
    @Southpaw07 6 місяців тому

    Thank you Kevin great stuff! . perhaps can use both tools - aztfexport to create the exported tf config, refactor the code and then run terraform import .. should help speed up the process if there are lots of resources to import... will give this a try ..

    • @letmetechyou
      @letmetechyou 6 місяців тому

      Thanks. Check out my other video on how to use the import block which i think is a lot easier. ua-cam.com/video/nYlw773UEp4/v-deo.html

  • @tinopiskovic9258
    @tinopiskovic9258 6 місяців тому

    How to add second SNMPv3 target?

  • @letmetechyou
    @letmetechyou 6 місяців тому

    Check out my latest video on how to import using terraforms import block using a for_each ua-cam.com/video/nYlw773UEp4/v-deo.html

  • @georgesteven3215
    @georgesteven3215 6 місяців тому

    I was doing using the command in azure powershell. Thank you for this video