Skip to content

Commit 20f2475

Browse files
committed
docs
1 parent 46da65f commit 20f2475

2 files changed

Lines changed: 22 additions & 19 deletions

File tree

docs/index.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: |-
99
-> **Note:** Use at least Terraform [`v1.14.0-alpha20250806`](https://github.com/hashicorp/terraform/releases/tag/v1.14.0-alpha20250806) for running action examples.
1010

1111
The bufo provider has an action that can be used to print out a bufo image as ASCII art.
12-
You can print a specific bufo by using one of the file names in this repo: https://github.com/austinvalle/terraform-provider-bufo/tree/main/internal/provider/bufos.
12+
You can print a specific bufo by using one of the file names (minus the extension) in this repo: https://github.com/austinvalle/terraform-provider-bufo/tree/main/internal/provider/bufos.
1313

1414
```terraform
1515
terraform {
@@ -36,26 +36,17 @@ action "bufo_print" "success" {
3636
}
3737
```
3838

39-
If no `name` is provided, a random bufo will be printed. You can set `color` to `true`, if your terminal supports it, for a colorized bufo.
39+
If no `name` is provided, a random bufo will be printed.
4040

4141
```terraform
42-
terraform {
43-
required_providers {
44-
bufo = {
45-
source = "austinvalle/bufo"
46-
}
47-
}
42+
action "bufo_print" "success" {
43+
config {} # random bufo
4844
}
45+
```
4946

50-
resource "terraform_data" "test" {
51-
lifecycle {
52-
action_trigger {
53-
events = [after_create]
54-
actions = [action.bufo_print.success]
55-
}
56-
}
57-
}
47+
You can set `color` to `true`, if your terminal supports it, for a colorized bufo.
5848

49+
```terraform
5950
action "bufo_print" "success" {
6051
config { color = true } # random colorized bufo
6152
}

templates/index.md.tmpl

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,22 @@ description: |-
99
-> **Note:** Use at least Terraform [`v1.14.0-alpha20250806`](https://github.com/hashicorp/terraform/releases/tag/v1.14.0-alpha20250806) for running action examples.
1010

1111
The bufo provider has an action that can be used to print out a bufo image as ASCII art.
12-
You can print a specific bufo by using one of the file names in this repo: https://github.com/austinvalle/terraform-provider-bufo/tree/main/internal/provider/bufos.
12+
You can print a specific bufo by using one of the file names (minus the extension) in this repo: https://github.com/austinvalle/terraform-provider-bufo/tree/main/internal/provider/bufos.
1313

1414
{{ tffile "examples/provider/provider.tf" }}
1515

16-
If no `name` is provided, a random bufo will be printed. You can set `color` to `true`, if your terminal supports it, for a colorized bufo.
16+
If no `name` is provided, a random bufo will be printed.
1717

18-
{{ tffile "examples/actions/bufo_print/action.tf" }}
18+
```terraform
19+
action "bufo_print" "success" {
20+
config {} # random bufo
21+
}
22+
```
23+
24+
You can set `color` to `true`, if your terminal supports it, for a colorized bufo.
25+
26+
```terraform
27+
action "bufo_print" "success" {
28+
config { color = true } # random colorized bufo
29+
}
30+
```

0 commit comments

Comments
 (0)