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
9295900
Archive
- March 2023 (6)
- February 2023 (1)
- January 2023 (1)
- December 2022 (10)
- November 2022 (15)
- October 2022 (15)
- September 2022 (14)
- March 2022 (8)
- December 2021 (9)
- November 2021 (6)
Comments
-
Steven RicksMarch 24, 2023 09:49PM
-
RubiMarch 20, 2023 02:37PM
-
NoneMarch 16, 2023 05:38PM
-
AnonymousMarch 6, 2023 09:46PM
-
SJFebruary 27, 2023 10:39AM