Terraform Workflow with Azure: Write, Plan and Apply
Вставка
- Опубліковано 27 сер 2024
- This is the second part of a multi-part series on Terraform with Azure. In this video, we create a simple project, starting with an overview of the Terraform workflow of writing a configuration file, planning a deployment, and then applying the configuration to create a resource in Azure.
Links
Zero to Hero with Azure Virtual Desktop www.udemy.com/...
Hybrid Identity with Windows AD and Azure AD
www.udemy.com/...
Blog
www.ciraltos.c...
Terraform Provider Site registry.terra...
Awesome Video. This the video I tried to find for a while and finally found it. Thanks for making this.
I didn't know how to get started until I watched this video. It is exactly what I needed!
No one can explain like you Travis! Thanku so much
Travis you're an absolute wizard! I needed this video.
Thank you!
Exactly what I was looking for. Thank you so much for this.
Thanks for both these videos, much appreciated.
Great video, thank you very much.
You are welcome!
Excellent !! Thank you!!
Really Wonderful!
Thanks man, you helped a lot.
Thank You for wonderful videos!!
Glad you like them!
This is such a great video. Is there a way to lock Apply workflow with an approval process in vscode?
Thanks for the video ,, helped a lot,, just one question , in this video time 6:17 you changed the configuration options with features . Could you please elaborate why we need to do this ? with configuration option I ran and facing error, please explain . thanks in advance
06:11 why we need to remove this and replace with feature{} ?
I have a quick question, I'm fairly new to TF.
I'm building a solution and creating bunch of resource groups and some other resources in each resource group.
Everything works fine, but now I want to include a azurerm_management_lock to my resource groups.
It keeps failing on me. with a strange error.
Error: parsing "resource_group_lock": parsing scope prefix: unable to find the scope prefix from the value "resource_group_lock" with the regex "^((.){1,})/providers/Microsoft.Authorization/locks/(.){1,}"
My Code
resource "azurerm_resource_group" "rg" {
count = var.create_condition == true ?length(var.RG_Name):0
name = element(var.RG_Name, count.index)
location = var.RG_Location
}
resource "azurerm_management_lock" "rg-level" {
count = var.create_condition == true ? length(var.RG_Name):0
name = var.lock_level_name
scope = azurerm_resource_group.rg[count.index].id
lock_level = var.lock_level
}
Hi Travis, I get the following error while I reun the az exyension add command
Unable to get extension index.
Please ensure you have network connection. Error detail: HTTPSConnectionPool(host='azcliextensionsync.blob.core.windows.net', port=443): Max retries exceeded with url: /index1/index.json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
hi @Travis. are you going to update your zero to hero course with a lesson on how to deploy AVD via terraform and azure devops pipelines ? reckon it might be useful for many who want to automate AVD deployment using custom image build and terraform
seems there is no point reinventig the wheel where there are examples of doing this on github among the go-euc for example