vcsa-deploy

kalenarndt/vcsa-deploy/vsphere

Terraform Module HCL VSPHERE ⏱ stale 4y 3mo

Module to deploy a vCenter Server Appliance with Terraform

Install

module "vcsa-deploy" {
source = "kalenarndt/vcsa-deploy/vsphere"
version = "1.0.8"
}
⭐ Source on GitHub 📦 Registry page

README

Terraform vSphere VCSA Deploy This Terraform module creates and deploys a vCenter Server Appliance on an ESXi host or in a vCenter environment. Acknowledgements - Based on a module by Riverpoint Technology ## Usage/Examples ``hcl locals { # Deployment Details infra_deploy = yamldecode(file("${path.module}/deploy_vcenter_on_vcenter.yaml")) deploy_vcenter = local.infra_deploy.deploy_vcenter } module "deploy_vcenter" { source = "kalenarndt/vcsa-deploy/vsphere" for_each = local.deploy_vcenter deploy_type = each.value.deploy_type vc_datacenter = each.value.vc_datacenter vc_username = each.value.vc_username vc_hostname = each.value.vc_hostname vc_password = each.value.vc_password vc_cluster = each.value.vc_cluster vcsa_network = each.value.vcsa_network vcsa_datastore = each.value.vcsa_datastore

Inputs (29)

NameTypeDescriptionDefault
vcenter_hostnamestringHostname for the vCenter Server Applaince required
vcenter_dnsstringvCenter server upstream DNS servers required
vcenter_fqdnstringvCenter server FQDN required
binaries_pathstringPath for the vCenter server deployment binaries required
vcsa_datastorestringTarget datastore for the vCenter appliance required
vcenter_gatewaystringDefault gateway for vCenter server required
vcenter_root_passwordstringvCenter server root password required
vcenter_ipstringvCenter server IP Address required
vcsa_networkstringTarget vCenter appliance network required
vcenter_prefixstringvCenter server subnet prefix"24"
vcenter_ntp_serverstringvCenter server NTP server"pool.ntp.org"
esxi_hostnamestringESXi hostname of the target host""
vc_usernamestringUsername for the account on the target vCenter that will be used to deploy the a""
vcenter_sso_domainstringvCenter server SSO domain"vsphere.local"
windowsboolToggle for executing the windows binary for deploying the vcsafalse
esxi_usernamestringUsername for the account on the target ESXi host""
ip_familystringSetting for ipv4 or ipv6"ipv4"
vcenter_ceip_statusboolvCenter server CEIP statusfalse
vc_hostnamestringvCenter hostname of the target vCenter where the appliance will be deployed in""
vc_passwordstringPassword for the account on the target vCenter that will be used to deploy the a""
network_modestringStatic or DHCP configuration for the network mode"static"
vcenter_ssh_enabledboolvCenter SSH settingtrue
vcenter_sso_passwordstringvCenter server SSO password"VMware123!"
vc_clusterstringCluster where the appliance will be deployed""
disk_modeboolThin provisioned disk modetrue
deployment_sizestringvCenter server deployment size"tiny"
vc_datacenterstringDatacenter where the appliance will be deployed""
deploy_typestringType of deployment that will be performed - esxi or vc "esxi"
esxi_passwordstringPassword for the account on the target host""

Outputs (6)

vcenter_root_password — Password for the local root user
vcenter_ip — vCenter IP address
vcenter_fqdn — vCenter FQDN
vcenter_user — SSO user that was created during the vCenter provisioning
vcenter_password — SSO user password that was set during the vCenter provisioning
vcenter_root_user — Username for the local root user

Resources (2)

local_filenull_resource

Details

FrameworkTerraform Module
LanguageHCL
Version1.0.8
Cloud VSPHERE
Total downloads1.5k
Inputs29
Outputs6
Resources2
Examples4
Namespacekalenarndt
Updated