Skip to content

alilotfi23/terraform-packer-ansible-vsphere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform module for vsphere/versioning with semantic release bot

This project will create identical images for vsphere and deploy vm on vsphere with terraform-module provisioning by ansible

pic

packer-vsphere-iso

Build a basic Ubuntu VM from an iso image with packer hashicorp

Install builder

packer init .

make sure your configuration is syntactically valid by using the packer validate command.

packer validate .

Build the image with the packer build command.

packer build .

terraform-vsphere-module

Install provider

terraform init

The terraform plan command creates an execution plan, which lets you preview the changes that Terraform plans to make to your infrastructure

terraform plan

The terraform apply command is used to apply the changes required to reach the desired state of the configuration

terraform apply