<p>I am trying to create a typhoon K8s cluster using <a href="https://typhoon.psdn.io/flatcar-linux/aws/" rel="nofollow noreferrer">typhoon</a> via terraform.</p>
<p>I am trying to create Kubernetes cluster on AWS using typhoon and my progress is still here <a href="https://github.com/codeaprendiz/terraform-kitchen/tree/master/aws/task-021-k8s-cluster-typhoon-IN-PROGRESS" rel="nofollow noreferrer">link</a></p>
<p>Strangely, the output gets stuck for hours at this error</p>
<pre class="lang-sh prettyprint-override"><code>module.tempest.null_resource.bootstrap: Still creating... [22m0s elapsed]
</code></pre>
<ul>
<li>I am not sure what the issue here is?</li>
</ul>
<p>I have followed all the steps as per the document but this keeps happening. Also checked the closed issues on the Github repo <a href="https://github.com/poseidon/typhoon/" rel="nofollow noreferrer">link</a> and found some which are similar but none could help.</p>
<p>Following is the output of the <code>TF_LOG=TRACE terraform apply</code></p>
<pre class="lang-sh prettyprint-override"><code>module.tempest.null_resource.bootstrap: Provisioning with 'remote-exec'...
2020-07-17T23:44:45.562+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:45 [DEBUG] Connecting to 54.174.116.142:22 for SSH
module.tempest.null_resource.bootstrap (remote-exec): Connecting to remote host via SSH...
module.tempest.null_resource.bootstrap (remote-exec):   Host: 54.174.116.142
module.tempest.null_resource.bootstrap (remote-exec):   User: core
module.tempest.null_resource.bootstrap (remote-exec):   Password: false
module.tempest.null_resource.bootstrap (remote-exec):   Private key: false
module.tempest.null_resource.bootstrap (remote-exec):   Certificate: false
module.tempest.null_resource.bootstrap (remote-exec):   SSH Agent: true
module.tempest.null_resource.bootstrap (remote-exec):   Checking Host Key: false
2020-07-17T23:44:45.755+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:45 [DEBUG] Connection established. Handshaking for user core
2020/07/17 23:44:46 [TRACE] dag/walk: vertex &quot;provisioner.remote-exec (close)&quot; is waiting for &quot;module.tempest.null_resource.bootstrap&quot;
2020-07-17T23:44:47.191+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:47 [DEBUG] Telling SSH config to forward to agent
2020-07-17T23:44:47.191+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:47 [DEBUG] Setting up a session to request agent forwarding
2020-07-17T23:44:47.818+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:47 [INFO] agent forwarding enabled
2020-07-17T23:44:47.818+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:47 [DEBUG] starting ssh KeepAlives
2020-07-17T23:44:47.818+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:47 [DEBUG] opening new ssh session
module.tempest.null_resource.bootstrap (remote-exec): Connected!
2020/07/17 23:44:47 [TRACE] dag/walk: vertex &quot;provider.null (close)&quot; is waiting for &quot;module.tempest.null_resource.bootstrap&quot;
2020-07-17T23:44:48.013+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:48 [DEBUG] Starting remote scp process:  scp -vt /tmp
2020-07-17T23:44:48.212+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:48 [DEBUG] Started SCP session, beginning transfers...
2020-07-17T23:44:48.212+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:48 [DEBUG] Beginning file upload...
2020-07-17T23:44:48.417+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:48 [DEBUG] SCP session complete, closing stdin pipe.
2020-07-17T23:44:48.417+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:48 [DEBUG] Waiting for SSH session to complete.
2020-07-17T23:44:48.622+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:48 [ERROR] scp stderr: &quot;Sink: C0644 41 terraform_187433809.sh\n&quot;
2020-07-17T23:44:48.622+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:48 [DEBUG] opening new ssh session
2020-07-17T23:44:49.033+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:49 [DEBUG] starting remote command: chmod 0777 /tmp/terraform_187433809.sh
2020/07/17 23:44:49 [TRACE] dag/walk: vertex &quot;meta.count-boundary (EachMode fixup)&quot; is waiting for &quot;module.tempest.null_resource.bootstrap&quot;
2020-07-17T23:44:49.238+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:49 [DEBUG] remote command exited with '0': chmod 0777 /tmp/terraform_187433809.sh
2020-07-17T23:44:49.238+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:49 [DEBUG] opening new ssh session
2020-07-17T23:44:49.646+0400 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2020/07/17 23:44:49 [DEBUG] starting remote command: /tmp/terraform_187433809.sh
2020/07/17 23:44:49 [TRACE] dag/walk: vertex &quot;root&quot; is waiting for &quot;meta.count-boundary (EachMode fixup)&quot;
2020/07/17 23:44:51 [TRACE] dag/walk: vertex &quot;provisioner.remote-exec (close)&quot; is waiting for &quot;module.tempest.null_resource.bootstrap&quot;
2020/07/17 23:44:52 [TRACE] dag/walk: vertex &quot;provider.null (close)&quot; is waiting for &quot;module.tempest.null_resource.bootstrap&quot;
2020/07/17 23:44:54 [TRACE] dag/walk: vertex &quot;meta.count-boundary (EachMode fixup)&quot; is waiting for &quot;module.tempest.null_resource.bootstrap&quot;
2020/07/17 23:44:54 [TRACE] dag/walk: vertex &quot;root&quot; is waiting for &quot;meta.count-boundary (EachMode fixup)&quot;
module.tempest.null_resource.bootstrap: Still creating... [10s elapsed]
2020/07/17 23:44:56 [TRACE] dag/walk: vertex &quot;provisioner.remote-exec (close)&quot; is waiting for &quot;module.tempest.null_resource.bootstrap&quot;
2020/07/17 23:44:57 [TRACE] dag/walk: vertex &quot;provider.null (close)&quot; is waiting for &quot;module.tempest.null_resource.bootstrap&quot;
2020/07/17 23:44:59 [TRACE] dag/walk: vertex &quot;meta.count-boundary (EachMode fixup)&quot; is waiting for &quot;module.tempest.null_resource.bootstrap&quot;
2020/07/17 23:44:59 [TRACE] dag/walk: vertex &quot;root&quot; is waiting for &quot;meta.count-boundary (EachMode fixup)&quot;
2020/07/17 23:45:01 [TRACE] dag/walk: vertex &quot;provisioner.remote-exec (close)&quot; is waiting for &quot;module.tempest.null_resource.bootstrap&quot;
2020/07/17 23:45:02 [TRACE] dag/walk: vertex &quot;provider.null (close)&quot; is waiting for &quot;module.tempest.null_resource.bootstrap&quot;
2020/07/17 23:45:04 [TRACE] dag/walk: vertex &quot;meta.count-boundary (EachMode fixup)&quot; is waiting for &quot;module.tempest.null_resource.bootstrap&quot;
2020/07/17 23:45:04 [TRACE] dag/walk: vertex &quot;root&quot; is waiting for &quot;meta.count-boundary (EachMode fixup)&quot;
module.tempest.null_resource.bootstrap: Still creating... [20s elapsed]

</code></pre>
<p>and this continues ENDLESSLY</p>
<ul>
<li>Also the <code>domain</code> which got created <code>k8s118.devops.link</code> is not resolving publically</li>
</ul>
<pre class="lang-sh prettyprint-override"><code>dig k8s118.devops.link

; &lt;&lt;&gt;&gt; DiG 9.11.3-1ubuntu1.12-Ubuntu &lt;&lt;&gt;&gt; k8s118.devops.link
;; global options: +cmd
;; Got answer:
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NXDOMAIN, id: 595
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;k8s118.devops.link.            IN      A

;; Query time: 495 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Sat Jul 18 00:36:07 +04 2020
;; MSG SIZE  rcvd: 47

</code></pre>

<p>This is all Terraform. You can see what's going on by enabling <a href="https://www.terraform.io/docs/internals/debugging.html" rel="nofollow noreferrer">TRACE</a> 🔍🔍logs in Terraform</p>
<pre class="lang-sh prettyprint-override"><code>TF_LOG=TRACE terraform plan
TF_LOG=TRACE terraform apply
</code></pre>
<p>You can also see 🔍🔍 what's going on in the AWS console. Are you EC2 instances being created? What DNS entries are being created in Route53? What VPCs are being created? etc.</p>
<p>You can go through the list 🗒️🗒️ of resources being created if you look at the <a href="https://github.com/poseidon/typhoon/tree/master/aws/container-linux/kubernetes" rel="nofollow noreferrer">TF files</a>.</p>
