This project has basic samples for deploying resources in AWS and vSphere using Terraform configuration files.
This repo supports the content described in a Post.
Please specify the values for following variables in terraform.tfvars file in the same folder as .tf files. Ther description for the variables is given in the variables.tf file. If not specified, then Terraform will prompt you to enter the values when applying your changes.
vsphere_user = <>
vsphere_password = <>
vsphere_vcenter = <>
vsphere_unverified_ssl = <>
vsphere_datacenter = <>
vsphere_vm_name = <>
vsphere_vm_template = <>
vsphere_vcpu_number = <>
vsphere_memory_size = <>
vsphere_datastore = <>
vsphere_ipv4_address = <>
vsphere_dns_servers = <>
vsphere_domain = <>
vsphere_time_zone = <>
vsphere_port_group = <>
AWS_ACCESS_KEY = <>
AWS_SECRET_KEY = <>
AWS_REGION = <>
ec2_instance_type = <>