Skip to content

Commit d48bcd9

Browse files
authored
website: Use hcl code language fences instead of terraform/tf (#824)
The developer website rendering currently only supports `hcl`.
1 parent 9d46160 commit d48bcd9

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

website/docs/plugin/framework/data-sources/timeouts.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Terraform configuration.
2626

2727
If your configuration is using a nested block to define timeouts, such as the following:
2828

29-
```terraform
29+
```hcl
3030
resource "timeouts_example" "example" {
3131
/* ... */
3232
@@ -61,7 +61,7 @@ func (d *ThingDataSource) Schema(ctx context.Context, req datasource.SchemaReque
6161
6262
If your configuration is using nested attributes to define timeouts, such as the following:
6363
64-
```terraform
64+
```hcl
6565
resource "timeouts_example" "example" {
6666
/* ... */
6767

website/docs/plugin/framework/handling-data/terraform-concepts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ right order, and when a provider, resource, or data source relies on a value
9696
from another provider, resource, or data source that has not been resolved yet,
9797
it represents that state by using the unknown value. For example:
9898

99-
```tf
99+
```hcl
100100
resource "example_foo" "bar" {
101101
hello = "world"
102102
demo = true

website/docs/plugin/framework/migrating/benefits.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ Version 6 lets you declare schemas with nested attributes in addition to blocks.
293293

294294
In the following configuration example, a schema uses a list block that is difficult to dynamically configure.
295295

296-
```terraform
296+
```hcl
297297
locals {
298298
calls = toset([
299299
{call_me: “example1”, maybe: true},
@@ -315,7 +315,7 @@ resource “examplecloud_thing” “example” {
315315

316316
In the following configuration example, a schema uses list nested attributes to simplify the configuration.
317317

318-
```terraform
318+
```hcl
319319
locals {
320320
calls = [
321321
{call_me: “example1”, maybe: true},

website/docs/plugin/framework/migrating/data-sources/timeouts.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Terraform configuration.
2424

2525
If your configuration is using a nested block to define timeouts, such as the following:
2626

27-
```terraform
27+
```hcl
2828
resource "timeouts_example" "example" {
2929
/* ... */
3030
@@ -59,7 +59,7 @@ func (d *ThingDataSource) Schema(ctx context.Context, req datasource.SchemaReque
5959
6060
If your configuration is using nested attributes to define timeouts, such as the following:
6161
62-
```terraform
62+
```hcl
6363
resource "timeouts_example" "example" {
6464
/* ... */
6565

website/docs/plugin/framework/migrating/resources/timeouts.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Terraform configuration.
2424

2525
If your configuration is using a nested block to define timeouts, such as the following:
2626

27-
```terraform
27+
```hcl
2828
resource "timeouts_example" "example" {
2929
/* ... */
3030
@@ -61,7 +61,7 @@ func (t *exampleResource) Schema(ctx context.Context, req resource.SchemaRequest
6161
6262
If your configuration is using nested attributes to define timeouts, such as the following:
6363
64-
```terraform
64+
```hcl
6565
resource "timeouts_example" "example" {
6666
/* ... */
6767

website/docs/plugin/framework/providers/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Not all values are guaranteed to be
208208
For example, if a practitioner interpolates a resource's unknown value into the block,
209209
that value may show up as unknown depending on how the graph executes:
210210

211-
```tf
211+
```hcl
212212
resource "random_string" "example" {}
213213
214214
provider "examplecloud" {

website/docs/plugin/framework/resources/timeouts.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Terraform configuration.
2626

2727
If your configuration is using a nested block to define timeouts, such as the following:
2828

29-
```terraform
29+
```hcl
3030
resource "timeouts_example" "example" {
3131
/* ... */
3232
@@ -63,7 +63,7 @@ func (t *exampleResource) Schema(ctx context.Context, req resource.SchemaRequest
6363
6464
If your configuration is using nested attributes to define timeouts, such as the following:
6565
66-
```terraform
66+
```hcl
6767
resource "timeouts_example" "example" {
6868
/* ... */
6969

0 commit comments

Comments
 (0)