Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
Edit fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
ptgott committed Nov 18, 2024
1 parent 98e13f0 commit 213885c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions server/fixtures/result/hcl-addr-var.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<ol>
<li>
<p>Create a <code>main.tf</code> file containing this minimal Terraform code:</p>
<pre><code class="hljs language-hcl"><span class="hljs-keyword">terraform</span> {
required_providers {
teleport = {
source = <span class="hljs-string">"terraform.releases.teleport.dev/gravitational/teleport"</span>
version = <span class="hljs-string">"~> (=teleport.major_version=).0"</span>
}
}
}

<span class="hljs-keyword">provider</span> <span class="hljs-string">"teleport"</span> {
addr = '<var name="teleport.example.com:443"></var>'
}
</code></pre>
</li>
<li>
<p>Then, init your Terraform working directory to download the Teleport provider:</p>
<pre><code class="hljs language-code">$ terraform init
Initializing the backend...

Initializing provider plugins...
- Finding terraform.releases.teleport.dev/gravitational/teleport versions matching ...
</code></pre>
</li>
<li>
<p>Finally, run a Terraform plan:</p>
</li>
</ol>

0 comments on commit 213885c

Please sign in to comment.