Terraform Workspaces vs Folders
11:47
Пікірлер
@jarradwilder
@jarradwilder 16 сағат бұрын
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 11 күн бұрын
Look what I found Azure and terraform. Heck yes
@tonyhall699
@tonyhall699 11 күн бұрын
Nice and concise, thanks.
@tonyhall699
@tonyhall699 12 күн бұрын
Excellent, thank you!
@mohammadrostami6125
@mohammadrostami6125 13 күн бұрын
You streamline it using "terraformer".
@BradleyMirly
@BradleyMirly 14 күн бұрын
These videos have been very helpful -- really appreciate the time you put into them! Thank you <3
@letmetechyou
@letmetechyou 11 күн бұрын
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 16 күн бұрын
Thank GODDDDDDD......you save my life !!! :)
@letmetechyou
@letmetechyou 16 күн бұрын
Hey I’m glad it helped
@PaulRobert-cb7df
@PaulRobert-cb7df 20 күн бұрын
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 19 күн бұрын
can you share the exact error message.
@PaulRobert-cb7df
@PaulRobert-cb7df 19 күн бұрын
@@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 19 күн бұрын
@@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 17 күн бұрын
@@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 17 күн бұрын
@@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 21 күн бұрын
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 25 күн бұрын
THANK YOU
@ranadheerreddy2996
@ranadheerreddy2996 25 күн бұрын
Thanks for your effort. It helps.
@basharaljneed5099
@basharaljneed5099 Ай бұрын
i have the same problem 'no bootable device' how to solve it ??
@debashissinha8489
@debashissinha8489 Ай бұрын
Missing AUDIO and font size is too low
@letmetechyou
@letmetechyou Ай бұрын
The audio does work.
@madhurshukla23jan
@madhurshukla23jan Ай бұрын
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 Ай бұрын
@@madhurshukla23jan yes you can
@madhurshukla23jan
@madhurshukla23jan Ай бұрын
@@letmetechyou can you suggest a way around or any form of guidance/documentation please
@madhurshukla23jan
@madhurshukla23jan Ай бұрын
Repository link is broken
@letmetechyou
@letmetechyou Ай бұрын
I just updated the link. Thanks
@madhurshukla23jan
@madhurshukla23jan Ай бұрын
@@letmetechyou thannkyou :)
@virtualworld6637
@virtualworld6637 Ай бұрын
I need some assistance in palo alto
@letmetechyou
@letmetechyou Ай бұрын
@@virtualworld6637 what issues are you having
@anisharajput410
@anisharajput410 Ай бұрын
@@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 Ай бұрын
@@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 Ай бұрын
@@letmetechyou Any scope if you can help in deploying this for panaroma? In case you want to try
@virtualworld6637
@virtualworld6637 Ай бұрын
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 Ай бұрын
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 2 ай бұрын
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 2 ай бұрын
Thanks. Check out my other video on how to use the import block which i think is a lot easier. kzbin.info/www/bejne/pIrPqGptaLp4ppY
@tinopiskovic9258
@tinopiskovic9258 2 ай бұрын
How to add second SNMPv3 target?
@letmetechyou
@letmetechyou 2 ай бұрын
Check out my latest video on how to import using terraforms import block using a for_each kzbin.info/www/bejne/pIrPqGptaLp4ppY
@georgesteven3215
@georgesteven3215 2 ай бұрын
I was doing using the command in azure powershell. Thank you for this video
@naveed.shaikh
@naveed.shaikh 2 ай бұрын
how can we add 2nd hdd or multiple hdds ?
@user-fd1wt6iq5j
@user-fd1wt6iq5j 2 ай бұрын
Is it possible to create new azure subscription by using terraform
@letmetechyou
@letmetechyou 2 ай бұрын
Yea it is I would use the caf deployment. I actually have a video on how to do that.
@user-fd1wt6iq5j
@user-fd1wt6iq5j 2 ай бұрын
@@letmetechyou thanks for your quick response. In which video ? It will be helpful.
@letmetechyou
@letmetechyou 2 ай бұрын
kzbin.info/www/bejne/Z2jNlJmVe6yma5Isi=dLIkDOI-0sTVIiAy
@ramasubramanianv5358
@ramasubramanianv5358 2 ай бұрын
Awesome LetmeTechYou.. I was trying Azure Terraffy which wasn't working due to various unknown reasons. But by doing this, Terraform itself becomes a learning process.
@letmetechyou
@letmetechyou 2 ай бұрын
Thanks. I’m glad it helped. Hope I can continue to make videos that could be of benefit
@ShaunDePonte
@ShaunDePonte 2 ай бұрын
sound is terrible
@letmetechyou
@letmetechyou 2 ай бұрын
thanks for the feedback. been improving over time!
@Litniyih
@Litniyih 2 ай бұрын
Hello, can you please help me with the Cisco firewall iOS image file?
@neelrajput8718
@neelrajput8718 3 ай бұрын
Insight full and worked for me .. thank you
@ShanePresleyC
@ShanePresleyC 3 ай бұрын
This part I got. What I can't seem to figure out is how to install the private key on the instance(s) such that they can talk to each other over SSH. Any advice on that?
@europarallels
@europarallels 3 ай бұрын
Cisco switches do have a Web User Interface nowadays. Why in the name of Linus are you not showing that instead ? What is this? The 1980s ?
@letmetechyou
@letmetechyou 2 ай бұрын
A lot of companies live in the 80s.
@ccr8085
@ccr8085 3 ай бұрын
Thank you so much I was just about to delete my entire vm lol
@letmetechyou
@letmetechyou 3 ай бұрын
No problem. Glad it helped.
@lastmoment7906
@lastmoment7906 3 ай бұрын
I am not able to figure out my ASA enable password . Please help.
@debashissinha8489
@debashissinha8489 3 ай бұрын
The presentation is good. However, I lost interest due to the font sizes on the screen being too tiny, specifically in Visual Studio coding pages. Makes headache too see tiny fonts for a long time. Request to enlarge the FONT SIZE like other KZbinrs' videos for learning Terraform AzureCloud with a large Font size
@debashissinha8489
@debashissinha8489 3 ай бұрын
The presentation is good. However, I lost interest due to the font sizes on the screen being too tiny, specifically in Visual Studio coding pages. Makes headache too see tiny fonts for a long time. Request to enlarge the FONT SIZE like other KZbinrs' videos for learning Terraform AzureCloud with a large Font size
@debashissinha8489
@debashissinha8489 3 ай бұрын
The presentation is good. However, I lost interest due to the font sizes on the screen being too tiny, specifically in Visual Studio coding pages. Makes headache too see tiny fonts for a long time. Request to enlarge the FONT SIZE like other KZbinrs' videos for learning Terraform AzureCloud with a large Font size
@tjhsiao06
@tjhsiao06 3 ай бұрын
Thnaks for great introduction to Terraform Graph. My plan graph svg file has 1200+ lines. I can't find a tool to display it properly :) Just learned about Rover: kzbin.info/www/bejne/sHrai2mOesp2d9E
@letmetechyou
@letmetechyou 3 ай бұрын
oh wow thats pretty awesome. I'm going to have to check that out
@villaran9295
@villaran9295 3 ай бұрын
Thank you so much!!!
@shielloujabonga5535
@shielloujabonga5535 3 ай бұрын
how to expand the allocated virtual drive, is it configurable?
@claudiomagagnotti1768
@claudiomagagnotti1768 3 ай бұрын
What if I have already have a hub and spoke topology, should I create a new one for each LZ or not?
@letmetechyou
@letmetechyou 3 ай бұрын
If you already have one then you don’t have to use this to build a new one. It could be used for new ones in different environments or regions. You could also not utilize it at all to build any networking resources
@rajeshchamanthula3201
@rajeshchamanthula3201 3 ай бұрын
Great Stuff. Could you please hlep me creating an new video on creating the custom management group at level2 and level3
@letmetechyou
@letmetechyou 3 ай бұрын
Check out my latest video I just uploaded.
@nahqueen8250
@nahqueen8250 3 ай бұрын
Great video ❤thank you so much
@letmetechyou
@letmetechyou 3 ай бұрын
Glad you enjoyed it!
@rajeshchamanthula3201
@rajeshchamanthula3201 3 ай бұрын
Are be able to create custom management groups from level 1 level 2 and level 3? could you please let me know where we can do that please
@letmetechyou
@letmetechyou 3 ай бұрын
Check out my latest video I just uploaded.
@rajeshchamanthula3201
@rajeshchamanthula3201 3 ай бұрын
@@letmetechyou Thanks a lot for your quick response
@jagadeeshyadav
@jagadeeshyadav 4 ай бұрын
Thanks for the video
@letmetechyou
@letmetechyou 3 ай бұрын
No problem. Thanks for watching.
@shadish6140
@shadish6140 4 ай бұрын
Hi, thanks for helpful series. I am a bit confused about lib folder and its use. so the archetype_definitions sub-folder has different templates that are referring predefined policies, sets..etc from other sub-folders? I could see that you used the default_empty template in the custom_landing_zones.archetype_id, but where did you reference the es_root template? finally, why did you add the same subnet definition at policy_assignments in default_empty, and at policy_definitions in es_root?
@letmetechyou
@letmetechyou 4 ай бұрын
the lib folder is so that you can have custom policies, definitions and settings that you can override from the default module. you can copy it out of the /.terraform/modules/alz/modules/archetypes/lib folder after you do a terraform init on that module. you reference the archetype id in the settings.core file
@letmetechyou
@letmetechyou 4 ай бұрын
The subnet was referenced in both locations because the root allowed for it to be created at the root for all subscriptions to see the policy and the policy assignment is what actually does the assigning at that management group level.
@letmetechyou
@letmetechyou 4 ай бұрын
let me know if you need a better example of anything
@shadish6140
@shadish6140 4 ай бұрын
@@letmetechyou Thank you for your reply. I just finished watching the entire series and it is helpful. I saw that we need to set the archetype id in settings.core to get it applied. so 1. if i copy the entire folder, only what i reference is what going to be applied? 2. the root template would always be applied if i have it in the path. i dont have to reference it?
@Iseeyoucrybich
@Iseeyoucrybich 4 ай бұрын
Чувак, почему ссылку не оставил ((( ебана ...
@GilbertKingAispuro
@GilbertKingAispuro 4 ай бұрын
Thank you for all your help. Your videos have been amazing. BTW, how do you get your words to be colorful?
@letmetechyou
@letmetechyou 4 ай бұрын
you can install the terraform extension in vscode
@g.rajifuja2047
@g.rajifuja2047 4 ай бұрын
Thank you for sharing this. As expected storage is the biggest culprit in my environment. Did you recreate the video for Automating Palo Alto Configuration Using Terraform? The Github repo is no longer accessible.
@letmetechyou
@letmetechyou 3 ай бұрын
I plan to do that soon. Getting the eval license is pretty hard.
@pratikmungekar4957
@pratikmungekar4957 4 ай бұрын
thank you for the video, its very helpful and detailed. in the naming module definition you constructed suffix by passing var.env and default value is prod. If I want to create a resource for staging while calling from main resource code name = module.naming... how can I pass value for that var.env as staging?