All Projects → ewypych → terraform-vsphere-single-vm

ewypych / terraform-vsphere-single-vm

Licence: MIT license
Deploy single vSphere VM with Terraform - template.

Programming Languages

HCL
1544 projects

Projects that are alternatives of or similar to terraform-vsphere-single-vm

terraform-modules
Terraform Modules by Peak
Stars: ✭ 16 (-23.81%)
Mutual labels:  iac, hcl, infrastructure-as-code, terraform-configurations
Terrascan
Detect compliance and security violations across Infrastructure as Code to mitigate risk before provisioning cloud native infrastructure.
Stars: ✭ 2,687 (+12695.24%)
Mutual labels:  infrastructure, iac, infrastructure-as-code
terraform-templates
Terraform templates, examples, etc.
Stars: ✭ 16 (-23.81%)
Mutual labels:  infrastructure, hcl, infrastructure-as-code
Terraformer
CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code
Stars: ✭ 6,316 (+29976.19%)
Mutual labels:  hcl, infrastructure-as-code, terraform-configurations
Terraform With Circleci Example
This is an example of automatic deployments of your infrastructure using terraform and CircleCI 2.0 workflows
Stars: ✭ 142 (+576.19%)
Mutual labels:  infrastructure, hcl, infrastructure-as-code
Terraform Aws Landing Zone
Terraform Module for AWS Landing Zone
Stars: ✭ 142 (+576.19%)
Mutual labels:  infrastructure, hcl, infrastructure-as-code
stein
A linter for config files with a customizable rule set
Stars: ✭ 92 (+338.1%)
Mutual labels:  infrastructure, hcl, infrastructure-as-code
gotf
Managing multiple environments with Terraform made easy
Stars: ✭ 25 (+19.05%)
Mutual labels:  iac, infrastructure-as-code
vspheretools
vSphereTools is a set of scripts from DevOpsHQ to support working with vSphere and virtual machines (VMs) on it, which are based on the pysphere library.
Stars: ✭ 19 (-9.52%)
Mutual labels:  vsphere, iac
driftctl
Detect, track and alert on infrastructure drift
Stars: ✭ 2,020 (+9519.05%)
Mutual labels:  iac, infrastructure-as-code
headless-wordpress
Headless Wordpress - AWS - Easy Setup
Stars: ✭ 42 (+100%)
Mutual labels:  infrastructure, iac
netris-operator
The Kubernetes Operator for Netris
Stars: ✭ 28 (+33.33%)
Mutual labels:  infrastructure, infrastructure-as-code
devopsish.com
DevOps, Cloud Native, Hybrid Cloud, Open Source, industry news, culture, and the ‘ish between.
Stars: ✭ 33 (+57.14%)
Mutual labels:  infrastructure, infrastructure-as-code
terraform-modules
Reusable Terraform modules
Stars: ✭ 12 (-42.86%)
Mutual labels:  iac, hcl
tfu
tfu is a terraform helper to update the providers.
Stars: ✭ 13 (-38.1%)
Mutual labels:  iac, infrastructure-as-code
icp-ce-on-linux-containers
Multi node IBM Cloud Private Community Edition 3.2.x w/ Kubernetes 1.13.5 in a Box. Terraform, Packer and BASH based Infrastructure as Code script sets up a multi node LXD cluster, installs ICP-CE and clis on a metal or VM Ubuntu 18.04 host.
Stars: ✭ 52 (+147.62%)
Mutual labels:  iac, infrastructure-as-code
terraform-provider-cisco-aci
Terraform provider for automating Cisco ACI enabled networks
Stars: ✭ 14 (-33.33%)
Mutual labels:  infrastructure, iac
terraform-aws-concourse
Terraform Module for a distributed concourse cluster on AWS
Stars: ✭ 12 (-42.86%)
Mutual labels:  infrastructure, infrastructure-as-code
awesome-iac-testing
A list of awesome IaC testing articles, speeches & links. Especially about Ansible.
Stars: ✭ 56 (+166.67%)
Mutual labels:  iac, infrastructure-as-code
terraform-pb
Programmatic management of infrastructure using Terraform and Protocol Buffers
Stars: ✭ 18 (-14.29%)
Mutual labels:  infrastructure, infrastructure-as-code

TERRAFORM vSPHERE BUILD

This is a basic build, which you can use to deploy a single VM in the vSphere infrastructure. Please notice that here you do not have many options like additional disk or copy .vmdk file. Anyway you do not need to specify every variables in the each build - there are a lot of maps which help to provision your infrastructure.

This build can be helpful with:

  • deploy a new VM for some tests,
  • deploy many VM, one by one,
  • join infrastructure deploying to the Ansible builds,
  • be a part of some tests, based on VMs
  • many other cases.

You can find more details on my page, where I described how to deploy vSphere VM with Terraform.

WARNING! Works only with Linux VMs!

Requirements

Valid installation of vSphere with vCenter Server

Variables

There are couple of variables. Some of them have default values. You should check all of them and ensure yourself that everything is valid for you Infrastructure deploy. This version has maps of variables, for example:

variable "vmgateway" {
  type = "map"
  default = {
    local.domain = "192.168.0.1"
    second.domain = "192.16.1.1"
  }
}

You need to create a file named terraform.tfvars in which you put your secrets and another custom variables. You can overwrite variables from the vars.tf file.

Please remember, that the most important variable is a vmdomain var (maps base on it), but you should specify the following variables:

viuser
vipassword
vmname
vmdomain
vmrp
vmdatastore
vmtemp

License

MIT

Author

Emil Wypych

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].