Skip to content

Commit

Permalink
Remove var labels in code snippets (#49136)
Browse files Browse the repository at this point in the history
This label is no longer necessary now that we have a custom plugin to
add Var components to syntax-highlighted code snippets.
  • Loading branch information
ptgott authored Nov 18, 2024
1 parent 58a703d commit f58fd28
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ To do this you need:

Create this minimal `main.tf` file:

```var
```hcl
terraform {
required_providers {
teleport = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ You can run the Teleport Terraform provider from this shell.

1. Create a `main.tf` file containing this minimal Terraform code:

```var
```hcl
terraform {
required_providers {
teleport = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,10 @@ cluster. You will create a local Teleport user for this purpose.
To prepare a Terraform configuration file:

1. Create a new file called `main.tf` and open it in an editor.

1. Define an example user and role using Terraform by pasting the following content into the `main.tf` file:
```var

```hcl
terraform {
required_providers {
teleport = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ name="example.teleport.sh:443" /> to the host **and port** of your Teleport
Proxy Service, and <Var name="endpoint:port" /> to the host **and port** of your RDS
database (e.g., `myrds.us-east-1.rds.amazonaws.com:5432`):

```var
```yaml
authToken: <Var name="token" />
proxyAddr: <Var name="example.teleport.sh:443" />
roles: db
Expand Down

0 comments on commit f58fd28

Please sign in to comment.