This is a example script to clone and deploy multiple Linux vCenter Virtual Machines on VMware vSphere vCenter server infrastructure using hashicorp terraform scripts. In my VMware infrastructure I already have configured virtual datacenter, cluster, network and datastore. There is Linux VM template…
Blog posts : "hashicorp"
Conditionally create resources in Terraform
I had scenario with Terraform to deploy resources based on the value given in variables. This is also an example of count and if condition. When you use count inside the resource block and if value is mentioned 0 that resource will not be deployed. Now I am giving the count number programmatically …
Terraform manage similar resources with for_each loop inside modules
After working on few of the Azure Terraform (Infrastructure as code) projects, I found I had to deploy same resource again and again, instead of defining same resource manually, I can use for_each loop to deploy resources smartly inside module block. In this example I am going to deploy Azure Virtu…
Blog Search
Page Views
8964299
Archive
- January 2023 (1)
- December 2022 (10)
- November 2022 (15)
- October 2022 (15)
- September 2022 (14)
- March 2022 (8)
- December 2021 (9)
- November 2021 (6)
- October 2021 (12)
- September 2021 (10)
Comments
-
January 27, 2023 04:44AM
-
Saeed AhmedJanuary 22, 2023 03:05PM
-
dvJanuary 19, 2023 01:24AM
-
NikolausJanuary 18, 2023 09:44PM
-
AnonymousJanuary 16, 2023 11:49PM