Using Terraform to provision vSphere Templates with GOVC and AWS S3

Gilles Chekroun Lead VMware Cloud on AWS Solutions Architect --- With my recent post about using Terraform for VMware Cloud on AWS provisioning, I had to provision OVA templates in my VMC vCenter so I would be able to use the Terraform vSphere provider to clone and deploy VMs. Since this requires access to ESXi inside VMware Cloud on AWS, it's not possible to do it from an external machine like my Mac over the internet. Only coming from a VPN connection or a Direct Connect will allow this but . . . . . . it is possible to use an AWS EC2 instance on the attached VPC to provision and this is the goal of this post. AWS EC2 Deployment Using AWS terraform provider, I am deploying a very simple EC2 without any initialisation. I could do the provisioning at this time but my code needs output parameters stored in the tfstate file. What I need now is t he Public IP and t he Public DNS name of my EC2 instance. This will be part of the terraform output. Connect to the