Skip to content

Latest commit

 

History

History
108 lines (82 loc) · 2.56 KB

README.md

File metadata and controls

108 lines (82 loc) · 2.56 KB

Terraform Examples for VMware Solutions

Introduction

This repository provides infrastructure-as-code examples to automate the creation of resources on VMware products / solutions.

Examples are provided for the following:

VMware Cloud Services

  • Cloud Proxy for Skyline
  • Cloud Proxy for vRealize Operations Cloud
  • Cloud Proxy for vRealize Log Insight Cloud
  • Cloud Proxy for vRealize Network Insight Cloud
  • Cloud Proxy for vRealize Automation Cloud
  • Cloud Extensibility Proxy for vRealize Automation Cloud
  • Activate Tanzu services on VMware Cloud on AWS

VMware vSphere

  • vSphere Content Library
    • Publisher
    • Subscriber
    • Subscriber for Tanzu
    • Items
  • vSphere DRS Anti-Affinty Rules
  • vSphere DRS VM-VM Rules
  • vSphere Folders
  • vSphere Folders and Resource Pools
  • vSphere HA VM-Host Groups
  • vSphere HA VM Overrides
  • vSphere Custom Roles for vRealize Suite
  • vSphere Custom Role for Packer
  • vSphere dvPortGroup for NFS Storage
  • vSphere NFS Datastore
  • vSphere Storage Policy for Tanzu
  • vSphere Virtual Machine (Various Examples)

VMware NSX-T Data Center

  • NSX Segments for Existing Networks in vRealize Automation
  • NSX Segments for On-Demand Networks in vRealize Automation

VMware vRealize Automation

  • Cloud Accounts
    • vCenter Server
    • NSX-T Data Center
  • Image Mappings
  • Flavor Mappings
  • Storage Profiles
  • Network Profiles
    • Existing Networks
    • On-Demand Networks
  • Fabric Networks
    • Existing Networks
    • On-Demand Networks
  • Cloud Template
  • Projects
  • Content Source
  • Content Item

VMware Cloud Director

  • VCD Virtual Machine

Getting Started

If you'd like to automate the creation of the custom vSphere role, a Terraform example is included in the project.

  1. Clone the repository.
git clone https://github.com/tenthirtyam/terraform-examples-vmware.git
  1. Navigate to the directory for the example.
cd terraform-examples-vmware/vsphere/vsphere-roles-vrealize
  1. Duplicate the terraform.tfvars.example file to terraform.tfvars in the directory.
cp terraform.tfvars.example terraform.tfvars
  1. Open the terraform.tfvars file and update the variables according to your environment.

  2. Initialize the current directory and the required Terraform provider for VMware vSphere.

terraform init
  1. Create a Terraform plan and save the output to a file.
terraform plan -out=tfplan
  1. Apply the Terraform plan.
terraform apply tfplan

Author

The following are active maintainers of this repository.