Terraform Cloud Project Bootcamp with Andrew Brown — 2.5.0 Deploying to Terratowns

<h1>1. Deploy to Missingo</h1> <p>In the previous episode, we were testing the environment locally in Gitpod workspace. Now we want to deploy our&nbsp;<code>terratown_homes</code>&nbsp;to actual TerraTown. The town&nbsp;<code>Missingo</code>&nbsp;is a test town for campers to test-deploy our&nbsp;<code>homes</code>. Let&rsquo;s do this.</p> <p>The first thing we do is to update the URL endpoint for the&nbsp;<code>terratowns</code>&nbsp;provider in&nbsp;<code>main.tf</code>.</p> <pre> provider &quot;terratowns&quot; { - endpoint = &quot;http://localhost:4567/api&quot; + endpoint = &quot;https://terratowns.cloud/api&quot; user_uuid = &quot;e328f4ab-b99f-421c-84c9-4ccea042c7d1&quot; token = &quot;9b49b3fb-b8e9-483c-b703-97ba88eef8e0&quot; }</pre> <p>Then we replace the mock&nbsp;<code>user_uuid</code>&nbsp;and&nbsp;<code>token</code>&nbsp;with our own. You can find your own User UUID in the access token on&nbsp;<a href="https://www.exampro.co/" rel="noopener ugc nofollow" target="_blank">ExamPro.co</a>&nbsp;website.</p> <ul> <li><code><strong>user_uuid</strong></code>: click on your profile circle at the top-right corner.</li> <li><code><strong>token</strong></code>: from that circle, you have the top-down menu. Click on&nbsp;<code>Settings</code>. Then you will have the&nbsp;<code>Vending Machine</code>&nbsp;option. There, you can generate your own access token.</li> </ul> <p><a href="https://medium.com/@gwenleigh/terraform-cloud-project-bootcamp-with-andrew-brown-2-5-0-deploying-to-terratowns-b937e75641c9"><strong>Click Here</strong></a></p>